Wartości oddzielone przecinka wejściowego Pythona
lst = input().split(',')
Relieved Ray
lst = input().split(',')
lst = input().split(',')#can use any seperator value inside '' of split
print (lst)
#given input = hello,world
#output: ['hello', 'world']
#another example
lst = input().split(' ; ')#can use any seperator value inside '' of split
print (lst)
#given input = hello ; world ; hi there
#output: ['hello', 'world', 'hi there']
string = input('Input')
>>> 1,2
print(cord.split(','))
>>>['1', '2']