Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

split string and convert to int python

a, b = tuple(int(x) for x in '1 2'.split())
 
PREVIOUS NEXT
Tagged: #split #string #convert #int #python
ADD COMMENT
Topic
Name
1+7 =