Maximum recursion depth exceeded in the big if


#1



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

RuntimeError: Maximum Recursion depth exceeded


I'm not sure how to fix this, if you could help I would be very thankful


def the_flying_circus():
    if the_flying_circus() and not 3 == 4:    
        return 
        True
    elif 3 != 4 :
        return
        False
    else:
        return
        True


#2

Does that look right? How do we write return statements?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.