Read a 'data.txt' file (attached) and list approved candidates. The data.txt file is organized into six columns, separated by ";" , and with the following content: column1> code. Mat, column 2 > full name, columns 3 to 6 > notes in tests p1 to p4, with decimal (separated by ","
A candidate is approved when the sum of their marks (the final grade) is greater than or equal to 25 and none of them is less than 2.
The exit list should contain the name of the candidate (approved), with 60 positions and its final mark, with four positions (one decimal place)
NOTE: Until now I just opened and read the file
nomeArq = input('nome do arquivo: ')
Lista = opone(nomeArq, 'r')
for linha in Lista: #Lê linha por linha
linha = linha.rstrip()#rstrip remove os espaços em branco entre linhas
print(linha)