Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7 . 1 0 LAB: Acronyms An acronym is a word formed from the initial letters of words in a set phrase. Write a program

7.10 LAB: Acronyms
An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is
an acronym of the input. Append a period (.) after each letter in the acronym. If a word begins with a lower case letter, don't include that
letter in the acronym. Assume the input has at least one upper case letter.
Ex: If the input is:
Institute of Electrical and Electronics Engineers
the output is:
I.E.E.E.
Ex: If the input is:
Association for computing MACHINERY
the output is:
A.M.
Although the letters ACHINERY in MACHINERY are upper case, those letters are omitted for being a part of the word MACHINERY.
Hint: Use isupper() to check if a letter is upper case.
LAB
7.10.1: LAB: Acronyms
010
main.py
Load default template...
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions

Question

Solve the following 1,4 3 2TT 5x- 1+ (15 x) dx 5X

Answered: 1 week ago

Question

Relational Contexts in Organizations

Answered: 1 week ago