about | help | code help+videos | done | prefs |
Your parents have created some (rather strict) rules for you. You are allowed to go to the party if you satisfy the following conditions: 1. you have finished your homework, and, 2. your marks in Math are above 80, or in case your marks in Math are not above 80, you have cleaned your room. Define a function that when passed the required information, returns True if you are allowed to go to the party, False otherwise. can_go_party(True, 70, False) → False can_go_party(True, 80, False) → False can_go_party(True, 81, False) → True ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 3 Post-solution available
Copyright Nick Parlante 2017 - privacy