Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

print a string with spaces between characters python

string = 'very important'

def emphasize(s):
    s = s.replace('',' ')
return s

emphasize(string)
#output: 'v e r y  i m p o r t a n t'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #print #string #spaces #characters #python
ADD COMMENT
Topic
Name
4+8 =