code: def tuple_search(t, i, v):
      
      for e in t:
          if e[i] == v:
              return e
      return None
docs: Search tuple array by index and value
      :param t: tuple array
      :param i: index of the value in each tuple
      :param v: value
      :return: the first tuple in the array with the specific index / value