The Big If, need help


#1



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


File "python", line 8
elif True and False or True and False:
^
SyntaxError: invalid syntax


I expected the_flying_circus to return True


Replace this line with your code. 
# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 4 > 3:
        return True
        # Start coding here!
        # Don't forget to indent
        # the code inside this block!
        elif True and False or True and False:
            return False
        # Keep going here.
        # You'll want to add the else statement, too!
            else:
                return True
                the_flying_circus():


#2

Recommend go back to the lessons explaining the importance of indentation. It's not just to make code look pretty. It is vital to identifying blocks. After your review on the topic, and of functions, you will be able to fix this.


#3

ok thanks big help I am just writing all of this because I have to have 20 characters or more


#4

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