Check Yourself...Some More Trouble!


#1



Replace this line with your code.


#2

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
    print original
else:
    print 'empty'
word = original.lower()
first = word(0)

#3

can anyone lease tell me what is wrong with my code and how to fix it? That would be wonderful thanks!


#4

exercise 5? You seemed to have added more code then needed, which is causing problems. Remove the else statement and everything after the else statement


#5

Ok thanks so much! Is that all I need to fix?


#6

Well it seems you are already further, so you figured it out. Be aware, the forum is for if you are properly stuck (not just 5 minutes) and read other topics. Thank you for your understanding :slight_smile: