Skip to content. | Skip to navigation
Click here to get the file
dic = {} arq = open("teste.txt", "r") lista = arq.read().split("\n") arq.close() for i in range(len(lista)): dic[i+1] = lista[i]
This site conforms to the following standards: