space separated input python tuple code example
Example 1: python input comma separated values
lst = input().split(',')
Example 2: python space separated input
l = list(map(int,input().split())
lst = input().split(',')
l = list(map(int,input().split())