6/11 PygLatin


#1

print 'Welcome to the Pig Latin Translator!'

original = raw_input("Enter word:")# Start coding here!
if len(original) > 0 and original.isalpha():
print original
else:
print "empty"


Help please
#2

you can add this

print original[1:]+original[0]+"ay"

but i presume the question wants you to put the ay in a variable so you have to do this

pyg = "ay"

Now you can add this instead

print original[1:]+original[0]+pyg

on line 5 in the if block


I've managed to hit a code wall and I've confused myself
Exercise 11/11 - Stuck!
#3

Continuing the discussion from 6/11 PygLatin:


#4

Thank you so much for this hint - I have been stuck on this page for ages. Not understanding the instructions at all

Put this line of code in (which I understand but possibly couldn't have figured out myself at this stage) and it works perfectly

Thanks rydan