Question: 
Write a function to convert the given tuple to a floating-point number.


Model's Code:
def tuple_to_float(t):
    return float(f"{t[0]}.{t[1]}")



Sample Correct Code:
def tuple_to_float(test_tup):
  res = float('.'.join(str(ele) for ele in test_tup))
  return (res) 


Asserts:
assert tuple_to_float((4, 56)) == 4.56
assert tuple_to_float((7, 256)) == 7.256
assert tuple_to_float((8, 123)) == 8.123


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

Test 553 of 974: 408/553 (73.77938517179024%): success