The Big If


#1

Any ideas can't understand why this doesn't work.

# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 1 and 2 == 3:   
                 return True # Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif 1 and  2 == 3:
        return True
        # Keep going here.
        # You'll want to add the else statement, too!
    else:
        print yes

Just run this and it works. Fresh pair of eyes were needed, so slept on it.


Practice makes perfect
#2

Hi this part

if 1 and 2 == 3:

If you want to do 1 add 2 equal 3 you should do it like that

if 1 + 2 == 3: