Skip to content

Instantly share code, notes, and snippets.

@chuck0523

chuck0523/zfill.py

Created May 20, 2016
Embed
What would you like to do?
a = 20
print(str(a).zfill(5)) # 00020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment