write a python programe to print the memory address of the object
Answers
Answered by
4
Answer:
Hey there this is your answer...!!!
Call id(object) to get the memory address of object .
Call id(object) to get the memory address of object .an_object = {"a": 1}
Call id(object) to get the memory address of object .an_object = {"a": 1}object_id = id(an_object)
Call id(object) to get the memory address of object .an_object = {"a": 1}object_id = id(an_object)print(object_id)
Explanation:
hope this helps you...!!!
Similar questions
Computer Science,
2 months ago
Social Sciences,
2 months ago
English,
5 months ago
Hindi,
10 months ago