I am working on "The Big If" in Python, which is the last part in Conditionals and Control Flow/
I have checked and revised and changed my code so many times, and I still have no idea what I've done wrong. It keeps saying that the_flying_circus() returned the value "None" as the error message. IDK how it even gets that.
If it was working correctly, it should print P1, and I have made it absolutely certain that the error is not on my hand. The code is not wrong and the expression will return True, like the instructions ask. Here is my code below:
def the_flying_circus(): if (1 != 1) or (2 > 3) is not True: print "P1" elif (1 == 1) or (2 < 3) is False: print "P2" else: print "P3"
If you have any idea how to help, please tell me. Thanks.