Answers for "separate strn and int input with comma python"

3

python input comma separated values

lst = input().split(',')
Posted by: Guest on February-04-2020
2

how to separate a string or int with comma in python

string = input('Input')
    >>> 1,2
    print(cord.split(','))
    >>>['1', '2']
Posted by: Guest on March-31-2020

Code answers related to "separate strn and int input with comma python"

Python Answers by Framework

Browse Popular Code Answers by Language