At Westonci.ca, we connect you with experts who provide detailed answers to your most pressing questions. Start exploring now! Join our platform to connect with experts ready to provide precise answers to your questions in different areas. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

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. Hint: Use isupper() to check if a letter is upper case. 3549402259488.9x3zqy7 LAB ACTIVITY 7.9.1: LAB: Acronyms 0/8 main.py Load default template.... 1 Type your code here. Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box

Sagot :

The function that we use in this python program is loop and isupper.

The full code in python is below,

phrase = input().split()

acronym = ""

for words in phrase:

   if words[0].isupper():

       acronym += words[0] + "."

print(acronym)

The for statement is loop function, it will get each of word in the input phrase.

Then, the if statement it will check if the first letter of world is have upper case or not. If yes then the code acronym will add them with the dot.

Then, after all word in phrase are checked, the print will display the output.

Learn more about loop here:

brainly.com/question/26098908

#SPJ4