1def main():
2
3 ## input the phrase
4 phrase = input("Enter the phrase: ")
5
6 ## split the phrase into substrings
7 phrase_split = phrase.split()
8
9
10 acronym = ""
11
12 ## iterate through every substring
13 for i in phrase_split:
14 acronym = acronym + i[0].upper()
15
16 print("The acronym for your phrase is ",acronym + ".")
17
18main()