Posts by Mauricio dos santos • 21 points
1 post
-
2
votes4
answers568
viewsA: Write in a file numbers separated by a certain character
arquivo= open("Crescente.txt","w") for numeros in range(1,101): arquivo.write(str(numeros) + ', ')#adiciona a vírgula print(numeros, end=".") arquivo.close() If the file is not created Python…
pythonanswered Mauricio dos santos 21