The Big If


#1

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

Every time I try to do this exercise, it says "Oops, try again. the_flying_circus should not take any arguments" even though the console says "True".

def the_flying_circus(answer):

    if answer == 12:
        return "True"

    elif answer == 10 and (4 > 3):
        return "True"

    else:
        return "False"

print the_flying_circus(12)

#2

The instructions specifically state that the function takes no parameters.


#3

remove the (answer) and it should tell you its ok now


#4

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