Geek Culture
Published in

Geek Culture

Python — Reference

A good understanding of Python reference

In Python, a variable is not a label of value like you may think. Instead, a reference in python means a different name for a memory location that has been associated. This means an entity allocated with some memory will be referenced with a different name other than the actual name of the memory.

The processing of variables in Python is very different from other languages. Variables in Python have a special attribute: identity, that is, “identity identification”. This special property is also called…

--

--

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