Ending up


#1


https://www.codecademy.com/courses/python-beginner-2W5v7/1/4?curriculum_id=4f89dab3d788890003000096#
ERROR: Oops, try again. Did you accidentally delete the new_word variable?


pyg = 'ay'

original = raw_input('Enter a word:')

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


#2

You don't need this print statement.

After this line

And also they are saying that because you declared your variable as newword instead of new_word


#3

And this line should be written like this

new_word = word[1:len(newword)]
then now you can print it
print new_word


#4

Well thank you .
i got my answer ... :smiley:


#5

My mistake was so dump xD

That was my mistake xD the [] and ()
word(1:len[newword])


#6

Haha it's always the small mistakes that really get us! :laughing: