DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python zfill
num = "7" print(num.zfill(2)) # prints "07"
PREVIOUS
NEXT
Tagged:
#python
#zfill
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit