#------------------------------------------------------------------------------ # Loop3.py #------------------------------------------------------------------------------ # print out the squares and cubes of a bunch of numbers for x in range(1,1001): print(x,'\t',x**2,'\t',x**3) # end for