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

CyberSec 🧑‍💻 | Top Writer | 5M+ Views | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers | Nominating Great Tech Stories