input returns tuple python code example
Example 1: python user input to tuple
tuple(map(int,raw_input().split(',')))
Example 2: python user input to tuple
tuple(int(x.strip()) for x in raw_input().split(','))
tuple(map(int,raw_input().split(',')))
tuple(int(x.strip()) for x in raw_input().split(','))