4. Python WAT?!

>>> 999 + 1 is 1000
False

>>> 1000 is 1000
True

>>> 1 + 1 is 2
True

>>> 2.2 * 3.0 == 3.3 * 2.0
False
>>> a = ('hello', 'word')
>>> a = ('hello')
>>> for x in a:
...    print(x)
h
e
l
l
o

>>> a = ('hello', 'word')
>>> a = ('hello',)
>>> for x in a:
...    print(x)
hello


>>> a = 'hello', 'word'
>>> a = 'hello'
>>> for x in a:
...    print(x)
h
e
l
l
o

>>> a = 'hello', 'word'
>>> a = 'hello',
>>> for x in a:
...    print(x)
hello
>>> a = [1, 3, 2, 5]
>>> x = a

>>> print(x)
[1, 3, 2, 5]

>>> print(a)
[1, 3, 2, 5]

>>> x.append(9)

>>> print(x)
[1, 3, 2, 5, 9]

>>> print(a)
[1, 3, 2, 5, 9]
>>> a = [1, 3, 2, 5]
>>> x = a

>>> x = a.copy()