+3 votes
2 views
in Python by (4.1k 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 (46.1k 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 (107k 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
+1 vote
2 answers
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...