Break it Down Issues


#1

I am working on the Break it Down exercise and can't seem to get it right.

I have a feeling I am missing something, but I can't figure it out. After I am prompted to enter a word, I do, and then it prompts me to do it again, and then I actually get the result I want. It only works the second time I enter a word. For example, I can enter "bumble", and it will just print that. Then I enter bumble a second time, and it will return "umbleay".

Can anyone see what I am missing or what I have done wrong?


print "Welcome to Pyglatin" #this text should appear

raw_input(("enter any word"))
 
word = raw_input()

first_letter=word[0]

pyg="ay"

word1= word[1:] + "ay"

print raw_input(word1)


#2

you only need 1 raw_input, you currently have two.


#3

Ah, I see, thank you!


#4

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