print(type(1))
print(type((1)))
gives me
<class 'int'>
Also
print(id(1))
print(id((1)))
gives me
1555424112
1555424112
however (1) is recognized as an instance where as 1 is not?
for e.g., on doing a (1). in editor I get a lot of methods such as bit_length, conjugate, __add__() etc. but not in doing 1.
What is the reason for the distinction?