Write a function that takes a string and a number of spaces


Problem

You have written an essay for school, and it has to be at least five pages long. But your essay is only 4.5 pages long! You decide to use your new Python skills to make your essay longer by spacing out the letters. Write a function that takes a string and a number of spaces to insert between each letter, then print out the resulting string.

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

It was a dark and stormy night

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a function that takes a string and a number of spaces
Reference No:- TGS02636851

Expected delivery within 24 Hours