def _delElement(an_iterable, idx):
  """
  :param iterable an_iterable:
  :param int idx:
  :return list: list without element idx
  """
  a_list = list(an_iterable)
  new_list = a_list[0:idx]
  back_list = a_list[(idx+1):]
  new_list.extend(back_list)
  return new_list