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

+2 votes
3 answers
asked May 24, 2019 in Python by Suresh (3.4k points)
+3 votes
2 answers
0 votes
1 answer
+3 votes
2 answers
+1 vote
2 answers

Browse Categories

...