12. For your A


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

# Add your for loop
for char in phrase:
    if char == "A" or char == "a":
        print "X" 
            print char,

#Don't delete this print statement!

For some reason it won't accept this as an answer.
Please help me.


You need a comma after print "X". should look like this.

if char == 'A' or char == 'a':
print 'x',


Thank you that fixed the problem.


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