For your A


#1



https://www.codecademy.com/courses/python-beginner-en-cxMGf/1/4?curriculum_id=4f89dab3d788890003000096#

Oops, try again. Did you replace all of the "A"s and "a"s with "X"s? It looks like you printed "X bird in the hX nd" instead of "X b i r d i n t h e h X n d".

This is supposed to show an X where every A or a should be


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,

#Don't delete this print statement!
        print


#2

What happens when you remove the indentation on the last line?


#3

Awesome! That solved the problem. Thank you!


#6