Help please this's why wrong?


#1


#2

Hi, @emilyty ,

You need to assign the solution to new_word and then output new_word as the answer.

Also note that have this line prior to the if block ...

first=word[0]

The if condition tests to make sure that original contains at least one character. You should move the lines that follow the raw_input call into the if block, so that you perform the test before you perform processing on the user's input, such as attempting to access word[0]. Otherwise, your program will fail when the user enters an empty string.