Question: Write a function (in python) that takes a string and a number of spaces to insert between each letter, then print out the resulting string.

Write a function (in python) that takes a string and a number of spaces to insert between each letter, then print out the resulting string.

Test case:

>>> spaceitout("It was a dark and stormy night",3)

I t w a s a d a r k a n d s t o r m y n i g h t

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!