Try this in an interactive python shell.
[] is [ ]
The above returns False, why?
[] is like list(), if you do this:
[]
list()
a = list() b = list()
clearly a and b are two completly different objects, hence:
a
b
a is b # False
like
list() is list() # False
[] is [] # False