Answers for "python split a string into ints"

1

split string and convert to int python

a, b = tuple(int(x) for x in '1 2'.split())
Posted by: Guest on October-08-2020

Code answers related to "python split a string into ints"

Python Answers by Framework

Browse Popular Code Answers by Language