Hacker News new | ask | show | jobs
by nas 1190 days ago
A variable is not a container. That would imply you can only put an object in one container. In Python, a variable is a label for an object. There can be multiple labels on a single object. If the object is mutable, you can tell it's the same object (or use id()).
1 comments

Yeah... Definitely not correct and pretty misleading in it's incorrectness. Also that font is a bit nightmarish. . Don't get me wrong, it's really decent overall but that variable as a container is the first thing you see and that font is awful.