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.

Top Writer | 1M+ Views | Engineer | Learning and Sharing Knowledge Everyday | Python is ❤️| Editor of The Pythoneers | Become a medium member 😉

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store