Hi everyone, I am looking to expand my code in order to take multiple strings such as "Good Morning"
Any help would be appreciated.
pyg = 'ay' while True: original = raw_input('Enter a word:').lower() #converts input to lower case up here instead of in the if statement if len(original) > 0 and original.isalpha(): first = original if first in'aeiou': new_word = original + pyg print new_word break else: new_word = original + first + pyg new_word = new_word[1:] #we do not need to specify :len(new_word). It already knows to go to the last character print new_word break else: print "That is not a valid option. Please try again."