import pylab as mi for k in range(-4,9): mi.plot(k,2*k+1,'r.') mi.show()