code: def indices_removed(lst, idxs):
      '''Returns a copy of lst with each index in idxs removed.'''
      ret = [item for k,item in enumerate(lst) if k not in idxs]
      return type(lst)(retf indices_removed(lst, idxs):
      '''Returns a copy of lst with each index in idxs removed.'''
      ret = [item for k,item in enumerate(lst) if k not in idxs]
      return type(lst)(ret)
docs: Returns a copy of lst with each index in idxs removed.