from __future__ import print_function x = 0 while x < 10: print("%40.40f" % (x/10.)) x = x + 1