read comma separated input in pythin code example Example: python input comma separated values lst = input().split(',')