I am trying to output an acronym in python. I keep getting a syntax error on the first line and can't figure it out. Any help would be appreciated. I'm a newbie to programming.
Code:
#A Program to Display an Acronym
#By Betty Kaiman
def acronym_phrase():
phrase = (input("Give a phrase: ")
words = phrase.split()
acronym = ""
for ch in phrase":
print ("Character:", ch)
for words in phrase.split[';'0,13,21,28]
for ch in phrase.split[0]
print ("The acronym is", acronym)
acronym_phrase
Comment