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: shares don't add up to the total for 3 people #30
✔ 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 10 --people 3 and it doesn't do what README.md says.
✔ Versions are there.
What I saw when I ran your command
splitbill printed:
Bill: $10.00
Tax: $0.00
Tip: $0.00 (0%)
Total: $10.00
Person 1: $3.33
Person 2: $3.33
Person 3: $3.33
README.md says it should print:
Bill: $10.00
Tax: $0.00
Tip: $0.00 (0%)
Total: $10.00
Person 1: $3.34
Person 2: $3.33
Person 3: $3.33
🎉 Great report, @thejesh23! 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.
Maintainer note: this issue stays open on purpose. Please don't close it.
It is the example of a finished bug report that the Lesson 09 video and written lesson show, at this address.
The bug it describes is planted in bug-hunt/splitbill.py for learners to find, so it will never be fixed. Closing the issue would make it look resolved.
Open issues are what learners see when they search before reporting, which is the first step the lesson teaches.
Learners: finding this same bug is fine. Open your own report with the Bug hunt form; duplicates are expected here.
Activity
github-actions commentedon Nov 22, 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 10 --people 3and 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, @thejesh23! 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.
[-]splitbill: bug[/-][+]splitbill: shares don't add up to the total for 3 people[/+]thejesh23 commentedon Nov 27, 2026
Maintainer note: this issue stays open on purpose. Please don't close it.
bug-hunt/splitbill.pyfor learners to find, so it will never be fixed. Closing the issue would make it look resolved.Learners: finding this same bug is fine. Open your own report with the Bug hunt form; duplicates are expected here.