Posts by Chris Macaluso • 109 points
2 posts
-
-1
votes2
answers80
viewsA: exec with n does not work
You’re trying to use exec specifically? Or could Voce write au document directly? Like this: open('test.txt', 'a').write('Hello, world\n') Any way, no comment '''. This is why Voce gets the error…
-
1
votes2
answers57
viewsA: Problem with list creation
Hello, I think this what you’ve been looking for. sorry for my Portuguese, I’m American and learning. textos = ["casa", "mamamia", "jejum", "girimum"] def calcula_assinatura(palavras): caracteres =…