➜ ~ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = [1,2,3]
>>> b = a
>>> a[0] = 73
>>> b[0] = 42
>>> x = a[0]
>>> print(x)
42
>>> typeof(b)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'typeof' is not defined
>>> type(b)
<class 'list'>
>>> ptr(b)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'ptr' is not defined