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