input tuple in python code example
Example 1: python user input to tuple
tuple(map(int,raw_input().split(',')))
Example 2: python create tuple from input
t = input()
a = tuple(int(x) for x in t.split())
#view this tuple
print(a)
Example 3: python user input to tuple
tuple(int(x.strip()) for x in raw_input().split(','))