Can you please explain why this happens in Python v3.8?
a=round(2.3)
b=round(2.4)
print(a,b)
print(type(a),type(b))
print(a is b)
print(id(a))
print(id(b))
Output:
2 2
<class 'int'> <class 'int'>
False
2406701496848
2406701496656
>>>
2 is within the range of the small integer caching. So why are there different objects with the same value?