fix(curriculum): update print tests for build a bill splitter steps 7-8#67831
Merged
majestic-owl448 merged 1 commit intoJun 8, 2026
Conversation
majestic-owl448
requested changes
Jun 6, 2026
Contributor
majestic-owl448
left a comment
There was a problem hiding this comment.
a pr that updates step 6 has just been merged, if you remove changes from that file in this PR we can review the changes to step 7 and 8
Contributor
Author
|
Thanks for letting me know. I'll remove the Step 6 changes from this PR and update it so only the Step 7 and Step 8 changes remain. |
9886b60 to
c91b67e
Compare
majestic-owl448
approved these changes
Jun 8, 2026
Contributor
majestic-owl448
left a comment
There was a problem hiding this comment.
Hi @username. Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist:
mainbranch of freeCodeCamp.Closes #67819
Updates Steps 6, 7, and 8 of the "Build a Bill Splitter" Python project to use stdout redirection and regex validation for checking
printoutputs (with a float tolerance of1e-6). This aligns them with Steps 4 and 5, allowing valid alternative print formats (like string concatenation) that were previously blocked by structural AST syntax checking.