Answer:
Your program is correct; it only lacks proper indentation
See Explanation
Step-by-step explanation:
The only correction to your question is to rewrite using proper indents.
See below
phrase = input()
acronym = ""
lst = phrase.split()
for x in lst:
if (len(x) > 0):
acronym += x[0]
acronym=acronym.upper()
print(acronym)
Note that:
You make use of indents when you have loop statements like (for) and conditional statements like (if)