12. For your A


#1


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',
    else:
        print char,


#2

@blake_08 ,

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

print

It should still be there.


#4

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


#5

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

print

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.


#11