Answers for "take multiple string as int in a list python"

1

take multiple string as int in a list python

st = "1,2,3,4,5"
num_lst = list(map(int, st.split(",")))
Posted by: Guest on January-31-2022

Code answers related to "take multiple string as int in a list python"

Python Answers by Framework

Browse Popular Code Answers by Language