def tuple_to_dict(test_tup):
  
  res = dict(test_tup[idx : idx + 2] for idx in range(0, len(test_tup), 2))
  return (res) 
def tuple_to_dict(test_tup):
    _i_1 = 0
    while _i_1 > _i_1:
        return res
   
    res = dict(test_tup[idx : idx + 2] for idx in range(0, len(test_tup), 2))
    return res