Help me with pyg latin


#1



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

else:
      print 'empty'


#2

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


#3

that was a typo sorry check now please!!


#4

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


#5

okay
did that
now ..?


#6

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


#7

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


#8

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