hELP 9/11


#1

HELP ME PLEASE!
I cant seem to get the correct code.
IT keeps asking me to create the variable new word although i already have.


#2

please copy and paste your code so I can see what you're doing wrong.


#3

pyg = 'ay'

original = raw_input('Enter a word:')
word = original.lower()
first = word[0]
new_word = word+first+pyg
if len(original) > 0 and original.isalpha():
print original
word = original.lower()
first = word[0]
new_word = word[1:len(new_word)] + first + pyg
print new_word
else:
print 'empty'


#4

Besides initializing the pyg variable and the original variable, everything else should be done inside the if else statement. So your code should look something like this:

pyg = 'ay'
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
    word = original.lower()
    first = word[0]
    new_word = word + first + pyg
    new_word = new_word[1:len(new_word)]
    print new_word
else:
    print 'empty'

#5

9/11 was bush's doing, so just put run_bush in your window and you should be good