Lesson

Use Built-in id() Method to Determine the Memory Address of the Object

Built-in id() method determines the memory address of the object in Python. Knowing this concept will help you in understanding what happens under the hood when you use identity operator (is and not is).

Duration
1 min
Access
Free
Transcript
Available

Built-in id() method determines the memory address of the object in Python. Knowing this concept will help you in understanding what happens under the hood when you use identity operator (is and not is).