Question: 
Write a function to repeat the given tuple n times.


Model's Code:
def repeat_tuples(tup, n):
    return tuple(tup for _ in range(n))



Sample Correct Code:
def repeat_tuples(test_tup, N):
  res = ((test_tup, ) * N)
  return (res) 


Asserts:
assert repeat_tuples((1, 3), 4) == ((1, 3), (1, 3), (1, 3), (1, 3))
assert repeat_tuples((1, 2), 3) == ((1, 2), (1, 2), (1, 2))
assert repeat_tuples((3, 4), 5) == ((3, 4), (3, 4), (3, 4), (3, 4), (3, 4))


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

Test 368 of 974: 266/368 (72.28260869565217%): success