code: def gridrange(start, end, step):
      
      for x in frange(start.real, end.real, step.real):
          for y in frange(start.imag, end.imag, step.imag):
              yield x + y * 1j
docs: Generate a grid of complex numbers