Hey guys, I am stuck on making this thing return True, Can you help?


#1



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


I expect for "the_flying_circus():" to return True


python

# Make sure that the_flying_circus() returns True

def the_flying_circus():
if the_flying_circus(): # Start coding here!
return True # Don't forget to indent
# the code inside this block!
elif the_flying_circus():
return True
# Keep going here.
else:
return False and not False
#You'll want to add the else statement, too!


#2

Please you should learn to format your code using this </> on the menu bar. This language is indentation sensitive.

You are almost getting the computer confused. Try delegating a parameter then test for it in your control flow to print true.

I edited like this for instance:

def the_flying_circus(name):
    if name == 5:
        return True # Don't forget to indent
    # the code inside this block!
    elif the_flying_circus():
        return False
    # Keep going here.
    else:
        return False
#You'll want to add the else statement, too!
print(the_flying_circus(5))

Hope this helps! :smile: