Python 3.0
for x in range(1,11): print '{0:2d} {1:3d} {2:4d}'.format(x, x*x, x*x*x)
Python 2.5
for x in range(1,11): print '%2d %3d %4d' % (x, x*x, x*x*x)