| about | help | code help+videos | done | prefs |
Python > Warmup-1 > monkey_trouble
prev | next | chance
| We have two monkeys, a and b, and the parameters a_smile and b_smile indicate if each is smiling. We are in trouble if they are both smiling or if neither of them is smiling. Return True if we are in trouble.
monkey_trouble(True, True) → True monkey_trouble(False, False) → True monkey_trouble(True, False) → False ...Save, Compile, Run prev | next | chance | CodingBat > Warmup-1 |
Progress graphs, just for fun:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
106.0
Copyright Nick Parlante 2006-11 - privacy