It works but it still says it has something wrong with it


#1



Ending Up


It doesn't behave incorrectly, it works but it still gives me an error code I don't understand


I expect it to pass me because the script works


yg = 'ay'

original = raw_input('Enter a word:')
word = original.lower()
first = word[0]

new_word = word[1:]

if len(original) > 0 and original.isalpha():
    print new_word + first + pyg
else:
    print 'empty'


#2

i mean pyg = 'ay' on first line


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.