0

Is there anything know as id in Python

I attended a challenge the I was questioned

26th May 2017, 4:46 PM
Hari Pirates
Hari Pirates - avatar
2 Answers
+ 2
Built-in id function returns a unique identifier for an object: if id(left) == id(right): print('Same object on both sides.') P.S. Don't put code in the question tags.
26th May 2017, 5:02 PM
Igor B
Igor B - avatar
0
thank you bro !!
26th May 2017, 5:22 PM
Hari Pirates
Hari Pirates - avatar