PygLatin - Ending Up
When I try to run my code it does not work and gives me an error message, i'm pretty sure it's to do with the slicing part.
Error Message: Traceback (most recent call last):
File "python", line 9, in
AttributeError: 'builtin_function_or_method' object has no attribute 'new_word'
pyg = 'ay' original = raw_input('Enter a word:') if len(original) > 0 and original.isalpha(): word = original.lower() first = word new_word = word + first + pyg new_word[1:] print new_word else: print 'empty'