Ending Up


#1



hey everyone :slight_smile:

https://www.codecademy.com/courses/python-beginner-2W5v7/1/4?curriculum_id=4f89dab3d788890003000096#


I need some help understating this exercise. I don't know what I'm doing wrong. I'm getting the "oops try again" error.


pyg = 'ay'

original = raw_input('Enter a word:')

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

new_word[0]

new_word=word+first+pyg
new_word[1:len(new_word)].


#2

Hello @ravidster,

Please, see this thread PygLatin - Ending up.


#3

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