Elif problem on the Big If


Hi everyone I am having a problem with the Big If section of the conditionals and controls lesson for the Python Module. I have pasted my code below.

Make sure that the_flying_circus() returns True

def the_flying_circus():
if the_flying_circus(): (3 < 4) and (5>=5) # Start coding here!
print "This is true"
return True # Don't forget to indent
# the code inside this block!
elif the_flying_circus():
print "That is true"
return True
print "That is false"
# Keep going here.
# You'll want to add the else statement, too!

I keep getting a syntax error for elif. I have trie different indents and rewrote the code a couple of times (Hence the lack of imagination!). Does anybody have an idea what I am doing wrong?


Ok I solved the Elif problem. My comma was in the wrong place! Wups ha


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