Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python = align

print(f'{-13:0=5}')
# -0013

print(f'{-13:0>5}')
# 00-13
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #align
ADD COMMENT
Topic
Name
5+7 =