Answers for "print a string with spaces between characters python"

0

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'
Posted by: Guest on May-17-2021

Code answers related to "print a string with spaces between characters python"

Python Answers by Framework

Browse Popular Code Answers by Language