Identity Operators in Python
Everything in python is an object
Python has a built-in function id() which provides the id of the memory location associated with that particular object
For example
a = 3
b = [12,54,6,9,1]
print(id(a))
print(id(b))
Output
10742600
140311838537856...
pratikhilale.hashnode.dev2 min read