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
Get step-by-step solutions from verified subject matter experts
