The Big If, the_flying_circus should not take any arguments


I don't understand what an argument is or how to fix my code.

The console reads: True and then None, like I believe it probably should. But after I pressed Save & Submit, CodeAcademy is telling me "Oops, try again. the_flying_circus should not take any arguments." Wtf is that? How do I fix it?

To be done so I can move on.

# Make sure that the_flying_circus() returns True
def the_flying_circus(year):
    if year == 2016:
        return True and not False or True
    elif year < 2016:
        return 3 != 3
        return "Not Yet"
print the_flying_circus(2016)


In your code above year is an argument.

Any letter or word passed in between a function's parentheses is an argument,

def example(argument):
    if argument > 10:
        return "Argument is Greater than 10"
        return 0


def the_flying_circus():

if 2**3 >= 6 and 10 != 2 :
    return True

elif 4 > 5 or 5 == 5 :
    return False

    return True


Are you receiving any error with your code now?


Thank you, I fixed it. I changed (year) to () and then made a variable. I appreciate the help.


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