Skip to main content

Practice ยท 2 of 3

Name the Condition

is_ok(age, member) is needed by two different checks in the starter. Write it: True when age >= 18 AND member is truthy. Use it from both call sites โ€” do not duplicate the logic.

Difficulty: beginner

Back to lesson: Practice: Refactoring Drills