The Big If (Should something happen in the black preview screen)


The program says that my code is correct however nothing is being printed onto the preview screen (black screen next to coding area)

Shouldn't it print "Success" or "Success 2"?

def the_flying_circus():
    if 1 + 1 == 2 and 4 >= 4:
        print "Success"
        return True
    elif 3 > 2 or 4 < 6:
        return True
        print "Success 2"
        print "Success 3"
        return True


a function doesn't get executed unless called, there is no function call in your case, so the function doesn't get executed, so nothing is printed


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