+ 1

Fix of lesson

in this lesson it tells us that lists and dictionaries are immutable, which is false, an immutable object is for example a tuple, since its values ​​can not be changed

14th Mar 2018, 3:51 AM
Diego Andres Cabrera Rojas
Diego Andres Cabrera Rojas - avatar
2 Respostas
+ 4
Is it this you are complaining about? It is copied from the Python course Only immutable objects can be used as keys to dictionaries. Immutable objects are those that can't be changed. So far, the only mutable objects you've come across are lists and dictionaries. Trying to use a mutable object as a dictionary key causes a TypeError.
14th Mar 2018, 5:15 AM
Paul
Paul - avatar
0
you dont understand that I am saying
15th Mar 2018, 3:56 AM
Diego Andres Cabrera Rojas
Diego Andres Cabrera Rojas - avatar