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'