Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
split string and convert to int python
jgritty
Programming language:
Python
2021-06-07 02:43:48
0
Q:
split string and convert to int python
OLDNICHOLAS
Code:
Python
2021-07-08 19:35:36
a, b = tuple(int(x) for x in '1 2'.split())
0
Tags
string
python
int
con
Related
append string variable with integer python
how to turn a string into an integer python
how to cast string to int python
how to make string to int in python
python convert character to integer
convert list of strings to ints python
turn string list into int list python
print string + int in python
concatenate string and int python
python convert string to int
python convert exponential to int
multiplication of string with int in python
how to concatenate a string with int in python
how to divide a variable with a digit in python
convert string to int python
python split string into floats
convert list of strings to int python
how to convert tuple to int in python
New to Communities?
Join the community