0

What is the use of 'id' in python?

9th Feb 2018, 1:37 AM
Monty Tomar
Monty Tomar - avatar
2 Answers
+ 6
9th Feb 2018, 2:05 AM
John Wells
John Wells - avatar
- 1
 id() function: Return the “identity” of an object. This is an integer (or long integer) which is guaranteed to be unique and constant for this object .
10th Feb 2018, 9:14 AM
Krishan Kumar Saini
Krishan Kumar Saini - avatar