Not sure what's wrong (variable doesn't take arguments?)


#1



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

Error message: Oops, try again. the_flying_circus should not take any arguments."

It also prints "None."


Replace this line with your code. 
# Make sure that the_flying_circus() returns True
def the_flying_circus(bing):
    if bing > 5 or bing == 2:
        return True
    elif bing < 2:
        return False
    else:
        return "None"
        
    return the_flying_circus(6)
    return the_flying_circus(2)
    return the_flying_circus(1)


#2

here:

def the_flying_circus(bing):

bing is the argument, in this exercise, the use of arguments isn't allowed


#3

Ah. Got it! Thanks! :slight_smile:


#4

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