I tried in Jupiter it gives me the answer same id for integer
a=10
b=10
print(type(a))
print(type(b))
print(id(a))
2835524512336
print(id(b))
2835524512336
a=10.5
b=10.5
print(type(a))
print(type(b))
print(id(a))
2835627979536
print(id(b))
2835626077552
And in float case it gives another result, can you tell me why and in thonny gives same result for both integer and float case