tuple as function input 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)
tuple(map(int,raw_input().split(',')))
t = input()
a = tuple(int(x) for x in t.split())
#view this tuple
print(a)