Abhay Parashar
May 11, 2021

--

No,

References are used to refer an existing variable in another name whereas pointers are used to store address of variable.

Reference an Pointer are two different things. Every value in python is a object not pointer and everything in python is done using reference not with pointer.

If it was with pointer then In the example the b value will not update.

--

--

Abhay Parashar

Cyber Guy 🧑‍💻| Top Writer | 3M+ Views | Engineer | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers