DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Number Data Type in Python
a
=
5
print
(
type
(
a
)
)
print
(
type
(
5.0
)
)
c
=
5
+
3j
print
(
c
+
3
)
print
(
isinstance
(
c
,
complex
)
)
PREVIOUS
NEXT
Tagged:
#Number
#Data
#Type
#Python
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit