Search
 
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
Name
2+4 =