Hey guys, I have a little problem. Exercise 15 ("The Big If") passes me, but after trying it out on a different console the answer I always get after writing in any number is the last elif - "You're too old for Douwe.".
The following is my code: def the_flying_circus(): a = raw_input ("Enter your age in numbers.") if (a <= 14): print "You're way too young for Douwe." return True elif (a >= 15 and a <= 19): print "It's possible Douwe may date you." return True elif (a >= 20 and a <= 26): print "You're the perfect age for Douwe!" return True elif (a >= 27): print "You're too old for Douwe." return True else: print "You didn't enter a proper number." return True the_flying_circus()
As I mentioned before, it always prints out "You're too old for Douwe.". What is the problem here? Thanks.