Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # b_zfill_aka_zero_padding.py
- for i in [1, 12, 123, 'aaa', 1234]:
- print str(i).zfill(4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement