Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get memory address

>>> a, b = (1,2), (1,2)
>>> id(a)
4337896128
>>> id(b)
14629469952
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #memory #address
ADD COMMENT
Topic
Name
4+2 =