It keeps giving me syntax errors for my if statements


#1

Make sure that the_flying_circus() returns True

def the_flying_circus():
number1=7
number2=9
if number1==7
print "no way the flying circus is here" # Start coding here!
# Don't forget to indent
# the code inside this block!
elif number1*number2==63 and not 72
print "It's still here."
else
print "bummer, they are gone"


#2

Hi, @canderson321

Because your code is not formatted, it is difficult for other users to read and debug it. As code is being posted, you can format it by selecting it, and then by clicking the </> button above the editing area. This will enable us to see important details, such as the indentation and underscores.

You might have an indentation problem in your code, but we cannot determine that without its being formatted. But you do need to end each if, each elif, and each else block header with a colon.


#3

Try this. DonĀ“t forget the indentation

def the_flying_circus():
number1=7
number2=9
if number1==7:
print "no way the flying circus is here"
elif (number1*number2==63) and (not 72):
print "It's still here."
else:
print "bummer, they are gone"