how to input tuple in python? code example
Example 1: python user input to tuple
tuple(map(int,raw_input().split(',')))
Example 2: how can I print all items in a tuple, separated by commas?
print(", ".join(str(x) for x in last_position))
tuple(map(int,raw_input().split(',')))
print(", ".join(str(x) for x in last_position))