code: def iprotate(l, steps=1):
      r
      if len(l):
          steps %= len(l)
          if steps:
              firstPart = l[:steps]
              del l[:steps]
              l.extend(firstPart)
      return l
docs: r"""Like rotate, but modifies `l` in-place.
  
      >>> l = [1,2,3]
      >>> iprotate(l) is l
      True
      >>> l
      [2, 3, 1]
      >>> iprotate(iprotate(l, 2), -3)
      [1, 2, 3]