DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to add trailing zeros in python
text = "hello" print(text.zfill(10)) Output: '00000hello'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#add
#trailing
#zeros
#python
ADD COMMENT
Topic
COMMENT
Name
5+7 =
Submit