15 cond&contr flow help please it keep saying invalid syntax


#1

Make sure that the_flying_circus() returns True

def the_flying_circus():
if 2 >= 3 or 3 >= 3:
return True# Start coding here!
# Don't forget to indent
# the code inside this block!
elif 5 == 3 and 5 != 3:
return False
# Keep going here.
# You'll want to add the else statement, too!
# right here where 5 is it keep saying invalid syntax
else 5 >= 4 or 5 != 4:
return True
the_flying_circus()


#2

Hi @teraace32354 ,

Because your code is not formatted, it is difficult for other users to read and debug it. After code is been pasted into the editing window for posting, 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.

The else header must not include a condition. You have ...

else 5 >= 4 or 5 != 4:

You can only have ...

else:

The if and the elif headers are where you would put a condition.


#3

Thanks you very much for your help.