Skip to content. | Skip to navigation
Click here to get the file
f = open("nomes.txt", "r") lista = f.readlines() f.close() lista.sort() f = open("nomes-ordenados.txt", "w") f.writelines(lista) f.close()
This site conforms to the following standards: