1lst = input().split(',')#can use any seperator value inside '' of split
2print (lst)
3#given input = hello,world
4#output: ['hello', 'world']
5#another example
6lst = input().split(' ; ')#can use any seperator value inside '' of split
7print (lst)
8#given input = hello ; world ; hi there
9#output: ['hello', 'world', 'hi there']
1# input comma separated elements as string
2str = str (raw_input ("Enter comma separated integers: "))
3print "Input string: ", str
4
5# conver to the list
6list = str.split (",")
7print "list: ", list