DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
How to Show type of a variable
#How to Know type of a variable
a
=
89
#make a variable
print
(
type
(
a
)
)
#print <class 'int'>
PREVIOUS
NEXT
Tagged:
#How
#Show
#type
#variable
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit