The Big If - the_flying_circus should not take any arguments


#1

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

Why do I keep getting an error saying "the_flying_circus should not take any arguments"?

# Make sure that the_flying_circus() returns True
def the_flying_circus(answer): 
 
    if answer > 8 and answer < 9:   
        return True
        
    elif answer <= 7:
        return True
        
    else:
        return "Oh well"
    
print the_flying_circus(8)
print the_flying_circus(8.5)
print the_flying_circus(6)

#2

The parameter, answer is an argument. Just remove it from the code. Don't pass any to the function, either.


#3

This worked. Thank you!


#4

what do u do instead


#5

You can write it however you like so long as you match the instructions. Use control flow operators, either comparison or boolean, use both elif and else in your statement, and return True, only.