return a tuple from user input python code example Example: python user input to tuple tuple(map(int,raw_input().split(',')))