DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python fill string with 0 left
>>> t = 'test' >>> t.rjust(10, '0') >>> '000000test'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#fill
#string
#left
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit