Find the best solutions to your problems with the help of IDNLearn.com's expert users. Join our interactive community and access reliable, detailed answers from experienced professionals across a variety of topics.
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