Posts by Juliano Amadeu • 61 points
3 posts
-
0
votes3
answers90
viewsQ: Problem editing a list in Python 3
I do not understand what is happening with this excerpt of code. What was expected was that when imprint the list at the end he the elements of her split, but is returning the list as if nothing had…
-
3
votes1
answer66
viewsQ: Doubt in the functioning of a Python code (Classes and objects)
Guys, I don’t understand something in this code. I’m importing the Client and Account classes into another program to use them. But I could not understand why it is working, and the deposit method…
-
2
votes5
answers9012
viewsA: How to replace more than one character in the replace method in Python 3?
You can import the module string and return the special characters with string.punctuation: Ex.: import string for c in string.punctuation: texto = texto.replace('c','') Very similar to Juliana…