The Big If, Something went wrong:(?


Something went wrong :frowning:
Click Close to try again or refresh the page.
this keepshappening to my code! Please help!!

# Make sure that the_flying_circus() returns True
def the_flying_circus():
     if Year== 365:
        # the code inside this block!
    elif: Y>365:
        print "LOOK AT A CALENDER"
     print "Are You sure this is right?"

was my code


Well, where to start? The indent of your code doesn't look so good, maybe a copy paste mistake or you need to re-indent your code.
first of, this line:


you do a comparison here, i would assign a value of 365 to the variable Year, so i would use a single equal sign. next problem:


why is there a colon after print? No need. And are also not needed, True is a Boolean value, remove the . Next problem:

elif: Y>365:

why is there a colon after elif? There should be a colon at the end of the line (which there is), but a colon after elif is just faulty syntax.

step two of the instructions:
At least one of and, or, or not
which i don't see in your code, add it