| about | help | done | prefs | create account |
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 See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem
New just for fun
Random User Progress Graphs
Random Epic Graphs
106.0
Copyright Nick Parlante 2006-11 - privacy