What is wrong with this code?


This is what i am stuck on Pyglatin "word up"

When i try to run the code i get this error message: "Oops, try again. Did you create a variable called word?"

Does anyone know whats wrong??
Thanks :slight_smile:

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
    print original
    print 'empty'


It doesn't say to remove this line at any point, but we do not need it anymore. Does that make a difference?


I forgot to put earlier that i also get this error: Traceback (most recent call last):
File "python", line 6, in
NameError: name 'orginal' is not defined


this line:


you misspelled original


Thanks a lot !!! well noticed :slight_smile:


the code that @computersavy posted is without markup, so the indention won't show on the forum


Oh... Thats why Thanks