mirror of
https://github.com/deunix-educ/PyQuest.git
synced 2026-11-25 08:19:44 +01:00
Add levels 04-07, code_contains test kind, StepValidator and reference-solution checks
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -133,4 +133,10 @@ mission:
|
||||
en: "total must equal bill + tip."
|
||||
- kind: stdout_equals
|
||||
value: "57.5\n"
|
||||
solution: |
|
||||
bill = 50
|
||||
rate = 0.15
|
||||
tip = bill * rate
|
||||
total = bill + tip
|
||||
print(total)
|
||||
reward_sound: success_small
|
||||
|
||||
Reference in New Issue
Block a user