Question: 
Write a function to convert the given binary tuple to integer.


Model's Code:
def binary_to_integer(binary_tuple):
    return str(int(''.join(map(str, binary_tuple)), 2))



Sample Correct Code:
def binary_to_integer(test_tup):
  res = int("".join(str(ele) for ele in test_tup), 2)
  return (str(res)) 


Asserts:
assert binary_to_integer((1, 1, 0, 1, 0, 0, 1)) == '105'
assert binary_to_integer((0, 1, 1, 0, 0, 1, 0, 1)) == '101'
assert binary_to_integer((1, 1, 0, 1, 0, 1)) == '53'


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

Test 494 of 974: 363/494 (73.48178137651821%): success