DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python cast to int
x = int(1) # x will be 1 y = int(2.8) # y will be 2 z = int("3") # z will be 3
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#cast
#int
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit