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