Advertisement
here2share

# string_zero_padding.py

May 6th, 2015
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.08 KB | None | 0 0
  1. # string_zero_padding.py
  2.  
  3. for N in range(1,101):
  4.     N=str(N)
  5.     print N.zfill(5), '\t',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement