I have the txt file:
NOME,n1,n2
JOAO,8,5
MARIA,5,6
PEDRO,0,9
I want to add the numbers, I did the following:
arq=open('pergunta.txt','r')
conteudo=arq.readlines()
arq.close()
for i in conteudo:
a=i.split(',')
b=a[1].replace('n1',...
asked by
25.10.2018 / 14:48