Help me check my code for the Big IF. Thanks! [Solved]


#1



Hey guys please help me check my code, i'm not too sure why the <= operator is invalid here


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


Oops, try again. An exception was raised while running your code, see the console window for the error message.
File "python", line 5
elif not answer or answer<=2
^
SyntaxError: invalid syntax

Solved. Thanks!


#2

missing colon at the end of that line


#3

just solved it. Thanks! Also, it says the_flying_circus() shouldnt take an argument. However, in my answer above i put the_flying_circus(answer).


#4

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