You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
splitbill: tip is worked out on the bill plus tax #72
A tip of $20.00 and a total of $130.00. README.md says "The tip is worked out on the bill before tax", and gives this exact example: a $100 bill, $10 of tax and a 20% tip.
✔ Title says what goes wrong.
✔ What went wrong is explained.
✔ Expected and actual results are both there.
✔ Steps reproduce a bug: I ran python bug-hunt/splitbill.py 100 --tax 10 --tip 20 and it doesn't do what README.md says.
✔ Versions are there.
Reviewed. A clear report: one command, the README sentence and example it contradicts, and the real output pasted as text. I'm closing it because the bug has to stay for the next learner. Closed here means reviewed, not rejected. Thank you!
Activity
github-actions commentedon Nov 28, 2026
🐞 Bug report check
✔ Title says what goes wrong.
✔ What went wrong is explained.
✔ Expected and actual results are both there.
✔ Steps reproduce a bug: I ran
python bug-hunt/splitbill.py 100 --tax 10 --tip 20and it doesn't do what README.md says.✔ Versions are there.
What I saw when I ran your command
splitbill printed:
README.md says it should print:
🎉 Great report, @reddy19231923-coder! Someone who has never seen this bug can reproduce it from what you wrote. A maintainer will review your report.
Please don't open a pull request that fixes it: the next learner needs the bug. Next up: Lesson 10, making the change.
thejesh23 commentedon Nov 28, 2026
Reviewed. A clear report: one command, the README sentence and example it contradicts, and the real output pasted as text. I'm closing it because the bug has to stay for the next learner. Closed here means reviewed, not rejected. Thank you!