id/email | |

password | |

forgot password | |

create account | |

Or use Mozilla Persona: | |

Nick's post on Why Persona is Great |

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 |

Forget It! -- delete my code for this problem

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