In python two variable a=10,b=10
then there id(a),id(b)
is same but for a=5234,b=5234 id(a),id(b)
is different
example:
a=12
b=12
print(id(a),id(b))
c=51324344343
d=51324344343
print(id(c),id(d))
In python two variable a=10,b=10
then there id(a),id(b)
is same but for a=5234,b=5234 id(a),id(b)
is different
example:
a=12
b=12
print(id(a),id(b))
c=51324344343
d=51324344343
print(id(c),id(d))