I'm trying to complete the python lessons, but I'm stuck on this exercise. It gives me the error message:
Oops, try again. the_flying_circus() returned the value None, did you forget to add a return statement?
I've found some older help posts that provide functional code, but I don't understand what a return statement is, and why this exercise requires one if it hasn't been introduced previously. Did I skip a lesson or something? How can I fix my existing code in order to complete this exercise?
# Make sure that the_flying_circus() returns True def the_flying_circus(): if (5 <= 5) and "Dog" == "Duck": print "Monkeys can fly" elif (4 == 4) or "Dog" == "Duck": print "Birds can fly" else: print "Frogs can fly"