Some facts, that not many people knows:
for i in range(100): # ^ assignment to name i pass
with open('some_file.txt') as fd: # ^^ assignment to name fd pass
[x for x in range(100)] # ^ assignment to name x
def foo(a, b): # ^^^ assignment of the function to the name foo # ^ assignment to name a # ^ assignment to name b pass
class Foo: # ^^^ assignment of class to name Foo passWhat we call variables, are just names. We assign an object (lives somewhere in memory) to a name.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!