Answers for "how to turn all the elements in a list into integers"

2

python string to list of int

[int(s) for s in example_string.split(',')]
Posted by: Guest on October-23-2020

Code answers related to "how to turn all the elements in a list into integers"

Python Answers by Framework

Browse Popular Code Answers by Language