What's wrong with this code. it says error


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
phrase = “A bird in the hand…”

Add your for loop

for c in phrase:
if c == “A” or c==“a”:
print “X”,
else:
print c,

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>

```python

Replace this line with your code.

<do not remove the three backticks above>

#2

what happened to the third print statement the exercise told you not to remove?


#3

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