The big if


#1



I am stuck at this lesson too.


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


File "python", line 3
if answer 5 == 5 or 8 + 1 : # Start coding here!
^
SyntaxError: invalid syntax


# Make sure that the_flying_circus() returns True
def the_flying_circus():
    if 5 == 5 or 8 + 1 :    # Start coding here!
       print "True" # Don't forget to indent
        # the code inside this block!
    elif 90 < 100 and 90 > 80 :
    print "False" # Keep going here.
       
       and 76 - 50 # You'll want to add the else statement, too!


#2

Hi!

if answer 5 == 5 or 8 + 1 :

What's the "answer" doing in there?

 # You'll want to add the else statement, too!

It says this, but I don't see one in your code.


#3

Make sure that the_flying_circus() returns True

def the_flying_circus():
if ( 5 < 6 ) and ( 5 >= 5 ): # Start coding here!
print ("true")

    # the code inside this block!
elif ( 5 < 6 ) and ( 5 <= 5 ):
    print ("false")
    # Keep going here.
    # You'll want to add the else statement, too!
else: 
    print the_flying_circus():

#4

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