Question: Entry level python code (4 points) (Acronyms.) An acronym is a word formed by taking the first letters of the words in a phrase and
(4 points) (Acronyms.) An acronym is a word formed by taking the first letters of the words in a phrase and making a word from them. For example, RAM is an acronym for "random access memory." Write a function acronym that takes one input string and then outputs the acronym for that phrase. Note: the acronym should be all uppercase, even if the words in the phrase are not capitalized. For example acronym ( 'Randon access memory) should return RAM. (Hint: don't forget to test strings with multiple spaces and spaces at the beginning.) Note that since we have not covered lists, you may not use any string functions or methods that return lists (e.g., split is not allowed)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
