Question: 
Write a function to convert the given string of integers into a tuple.


Model's Code:
def str_to_tuple(s):
    return tuple(int(x.strip()) for x in s.split(','))



Sample Correct Code:
def str_to_tuple(test_str):
  res = tuple(map(int, test_str.split(', ')))
  return (res) 


Asserts:
assert str_to_tuple("1, -5, 4, 6, 7") == (1, -5, 4, 6, 7)
assert str_to_tuple("1, 2, 3, 4, 5") == (1, 2, 3, 4, 5)
assert str_to_tuple("4, 6, 9, 11, 13, 14") == (4, 6, 9, 11, 13, 14)


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

Test 715 of 974: 540/715 (75.52447552447552%): success