Bif if 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.>

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

<What do you expect to happen instead?>

```python

Make sure that the_flying_circus() returns True

def the_flying_circus():
if 2<3 or 2==3: # Start coding here!
print “True”
# the code inside this block!
elif 2>3:
print “False”
# You’ll want to add the else statement, too!
else:
print “the_flying_circus()”
return the_flying_circus()

<do not remove the three backticks above>

#2

you want your else to be at the same indent level as if and elif

I would put something else inside your else, for example return True (True should be returned, step 4 of the instructions:
Finally, the_flying_circus() must return True when evaluated

Then i would put the function call outside the function:

def the_flying_circus():
    if 2<3 or 2==3:    # Start coding here!
        print "True"
        # the code inside this block!
    elif 2>3:
        print "False"
        # You'll want to add the else statement, too!
    else:
        # else is now properly indented
        # i would return True here

#now the function call:
print the_flying_circus()

See comments in code


#3

Hi
There are several problems in your code, see the comments in the code below


#4

you were faster than me :slight_smile:


#5

It is alright, now he has two views on how to solve the problem :slight_smile: