Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to center a string python

x = "Hello world"
print(x.center(30))
 
PREVIOUS NEXT
Tagged: #center #string #python
ADD COMMENT
Topic
Name
2+6 =