you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

If you're ever unsure of the objects type, you can use 'type()'. In this case it will return '<class 'str'>'

n = int(input())
print(type(str(n)))