code: def removeall(item, seq):
      
      if isinstance(seq, str):
          return seq.replace(item, '')
      else:
          return [x for x in seq if x != item]
docs: Return a copy of seq (or string) with all occurences of item removed.
      >>> removeall(3, [1, 2, 3, 3, 2, 1, 3])
      [1, 2, 2, 1]
      >>> removeall(4, [1, 2, 3])
      [1, 2, 3]