File size: 173 Bytes
1b34a12
 
 
 
1
2
3
4
5
def tuple_type(strings):
    strings = strings.replace("(", "").replace(")", "").replace(" ", "")
    mapped_int = map(int, strings.split(","))
    return tuple(mapped_int)