Last active
March 23, 2017 01:26
-
-
Save fredrikaverpil/9760805 to your computer and use it in GitHub Desktop.
Add padding to number #python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make 13 into 0013 | |
'{:04}'.format(13) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment