Question: 
Write a function to convert tuple string to integer tuple.


Model's Code:
def tuple_str_int(s):
    return tuple(map(int, s.strip("()").split(",")))



Sample Correct Code:
def tuple_str_int(test_str):
  res = tuple(int(num) for num in test_str.replace('(', '').replace(')', '').replace('...', '').split(', '))
  return (res) 


Asserts:
assert tuple_str_int("(7, 8, 9)") == (7, 8, 9)
assert tuple_str_int("(1, 2, 3)") == (1, 2, 3)
assert tuple_str_int("(4, 5, 6)") == (4, 5, 6)


Tests:
Test 1 of 3: PASS
Test 2 of 3: PASS
Test 3 of 3: PASS

Test 785 of 974: 594/785 (75.6687898089172%): success