DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Python - How To Pad String With Spaces
a = "I am legend" print(a.ljust(15))
Source by www.thecodeteacher.com #
PREVIOUS
NEXT
Tagged:
#Python
#How
#To
#Pad
#String
#With
#Spaces
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit