Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+3 votes
5 views
in Python by (4k points)
edited by
I have a python variable how can I see that it's unsigned 32 bit or signed 16 bit, etc?

2 Answers

0 votes
by (46k points)
edited by

It's pretty simple, just use:

print(type(variable_name))

 Or

You can also use type :

>>> type(one)
<type 'int'>

Happy learning....!! 

0 votes
by (106k points)

You can try this:

>>> i = 123

>>> type(i)

<type 'int'>

You can use the following video tutorials to clear all your doubts:-

Related questions

+3 votes
2 answers
+3 votes
2 answers
+1 vote
2 answers

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...