Answers for "printing memory address instead of data in python"

2

python get memory address of variable

x = 4
print hex(id(x))
Posted by: Guest on February-17-2021

Code answers related to "printing memory address instead of data in python"

Python Answers by Framework

Browse Popular Code Answers by Language