12. For your A


I'm prompted with the error
"Oops, try again. Did you replace all of the "A"s and "a"s with "X"s? It looks like you printed "" instead of "X b i r d i n t h e h X n d . . ."."
Someone please tell me what's done incorrectly? This should be correct.

phrase = "A bird in the hand..."

# Add your for loop

for char in phrase:
    if char == 'A' or char == 'a':
        print 'X',
        print char,


@blake_08 ,

Do you still have this statement at the end of the code? ...


It should still be there.


I don't understand exactly what you mean. Could you show in an example?


The code that was given originally had this statement at the end, but it appears that you removed it ...


Add it to the end of your code, exactly as is, and make sure not to indent it.

While that line does not seem to accomplish much, Codecademy's submission correctness test (SCT) needs it in order to pass your submitted code.