-->

Wednesday, May 14, 2014

formatting a number - the pythonic way

for  f in range(0,100):
    str= ("%03d" % (f) )
    print str

No comments:

Post a Comment