Back

Explore Courses Blog Tutorials Interview Questions
+3 votes
4 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

+2 votes
3 answers
asked May 24, 2019 in Python by Suresh (3.4k points)
+3 votes
2 answers
+3 votes
2 answers
0 votes
1 answer
+1 vote
2 answers
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...