Help me with pyg latin


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

      print 'empty'


there is a problem:

original = raw_input('Enter a word :")

a apostrophe doesn't match a quotation mark

Your indention also looks a bit off


that was a typo sorry check now please!!


there is a . after len which shouldn't be there


did that
now ..?


now you should be able to pass 8. word up, your code is fine. If not, refresh the page

or include the error message and exercise you are at


thanks alot for instant answer ! the refreshing of page did help


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