I am new to Python and I am using python 3. I have an if statement which is recieving an error, but I do not know why. It's the line that says print new_word after the second if statement that is receiving the error. I indented it.
pyg = 'ay'
original = raw_input('Enter a word:')
word = original.lower()
first = word[0]
new_word = word[1:] + first + pyg
if len(original) > 0 and original.isalpha():
if first == "o" or first == "i" or first == "e" or first == "u":
print new_word
else: print new_word
else:
print word