For your A


#1

what is wrong with this code

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

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

#Don't delete this print statement!
        print char,

#2

Should read,

        print char,

#Don't delete this print statement!
print

This can be simplified using the in operator...

    if char in 'Aa':

#3

thanks for the help i just couldn't see the problem


#4

A post was split to a new topic: Have taken into account the comments yet get an erro