Ending up Pyg latin


What is wrong with this code. I do not understand this at all. Could you give me the answer so that I can compare it to mine. Thanks.

pyg = 'ay'

original = raw_input('Enter a word:')

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


Well just at a first glance, your slice is wrong. And your slice should be equal to something!


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