code: def translatePoints(points, movex, movey):
      
  
      # Note: There is no translatePoint() function because that's trivial.
      _checkForIntOrFloat(movex)
      _checkForIntOrFloat(movey)
      try:
          for x, y in points:
              _checkForIntOrFloat(x)
              _checkForIntOrFloat(y)
              yield x + movex, y + movey
      except:
          raise PyBresenhamException('`points` argument must be an iterable of (x, y) points.')
docs: Returns a generator that produces all of the (x, y) tuples in `points` moved over by `movex` and `movey`.
  
      >>> points = [(0, 0), (5, 10), (25, 25)]
      >>> list(translatePoints(points, 1, -3))
      [(1, -3), (6, 7), (26, 22)]