DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
convert string to number python
>>> x = "23" >>> y = "20" >>> z = int(x) - int(y) >>> z 3
Source by stackabuse.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#number
#python
ADD COMMENT
Topic
COMMENT
Name
5+5 =
Submit