11/11 Huge Issue


I am not stuck, but I have a large issue at 11/11 of PygLatin.

My code isn't doing anything other than printing the input. No changes are made to the original word and the pig latin is simply not there.

Throughout the entire course it kept telling me that I had completed the exercises but I was confused as it would just give back my input. It has now given me the badge, but my code simply doesn't do anything that it's supposed to. I really need some help because I've looked at other posts and my code is the same as other peoples'. Help me with this. I don't want to get rewarded for nothing.

pyg = 'ay'

original = raw_input('Enter a word:')

if len(original) > 0 and original.isalpha():
    word = original.lower()
    first = word[0]
    new_word = word[1:]+first+pyg
    print original
    print empty


nice :slight_smile:

look at your code what are you printing inside if? what should you print?
what's the value original holds


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