Question: Same problem as before, but you decide to use more of your new Python skills. You are going to increase the spaces between the words.
Same problem as before, but you decide to use more of your new Python skills. You are going to increase the spaces between the words. Write a function that takes a string and a number of spaces to insert between each word, then print out the resulting string.
>>> spaceout("It was a dark and stormy night",3)
It was a dark and stormy night
Step by Step Solution
3.31 Rating (169 Votes )
There are 3 Steps involved in it
def spaceoutastring number pile space parts astringsplit ... View full answer
Get step-by-step solutions from verified subject matter experts
