Posts by Mateus Rodrigues • 3 points
1 post
-
0
votes1
answer32
viewsQ: When creating a new pair in a dictionary lose the previous data?
I’m creating a Dict from scratch, but when I add some new pair, the old pair gets lost. If I try to print 'name' for example, it gives error. cidade = { 'nome': 'São Paulo', 'estado': 'São Paulo' }…