+ 1
How to input a tuples in python
2 Answers
+ 2
You could do something like
a = tuple(int(x) for x in a.split(","))
Details:
https://stackoverflow.com/questions/20482406/create-a-tuple-from-an-input-in-JUMP_LINK__&&__python__&&__JUMP_LINK
0
print(tuple(input().split(',')))