Question: Exercise 2 Crete a function spell that accepts a unique argument word (of type string), and returns all the letters of word in uppercase and

 Exercise 2 Crete a function spell that accepts a unique argument

Exercise 2 Crete a function spell that accepts a unique argument word (of type string), and returns all the letters of word in uppercase and separated by a dot (not dot after the last letter). Call your function from the main program to check that it works. Do not forget to add docstring to your function as you cann from the below sample runs: Which word do you want to spell? Abdullatif The word Abdullatif is spelled A.B.D.U.L.L.A.T.I.F > help (spell) Help on function spell in module _ main__: spell (word) Word spelling. Returns the letter of the word in upper case and separated by dots. Parameters: word (string): word to be spelled Returns: spelled (string): letters in upper case separated by dotsEnter a

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!