Skip to content

fix(curriculum): resolve binary search workshop errors - #71177

Merged
majestic-owl448 merged 1 commit into
freeCodeCamp:mainfrom
Aditya-kumar-yadav:fix/binary-search-workshop-grammar-and-indentation
Oct 20, 2026
Merged

majestic-owl448 merged 1 commit into
freeCodeCamp:mainfrom
Aditya-kumar-yadav:fix/binary-search-workshop-grammar-and-indentation

Conversation

@Aditya-kumar-yadav

Copy link
Copy Markdown

Checklist:

Closes #71166

Description of changes:

This PR resolves the wording, code-formatting, and indentation issues identified in the Python binary search workshop:

  1. Step 1 (683ec39565dbc7e3375263b1.md): Removed the singular article a before the plural parameters in both the challenge description and hint.
  2. Step 4 (683ec95f2f8781355556ff7c.md): Formatted high in backticks for consistency with inline code formatting of variable names.
  3. Step 12 (683ec95f2f8781355556ff84.md): Clarified that updating low narrows the search range to the right half, and that the target will only be in that half if it is present in the list.
  4. Step 16 (68416d66013635cb6325eb6d.md): Fixed the indentation of the return statement in the final solution to 4 spaces, adhering to standard Python indentation.

@Aditya-kumar-yadav
Aditya-kumar-yadav requested a review from a team as a code owner October 20, 2026 13:51
@github-actions github-actions Bot added the scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory. label Oct 20, 2026
@majestic-owl448 majestic-owl448 added the python v9 cert These are for issues dealing with the Python V9 certification. label Oct 20, 2026
@majestic-owl448
majestic-owl448 enabled auto-merge (squash) October 20, 2026 14:20

@majestic-owl448 majestic-owl448 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @Aditya-kumar-yadav. 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. 📝

@majestic-owl448
majestic-owl448 merged commit 0368561 into freeCodeCamp:main Oct 20, 2026
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

python v9 cert These are for issues dealing with the Python V9 certification. scope: curriculum Lessons, Challenges, Projects and other Curricular Content in curriculum directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Binary search workshop has wording, code-formatting, and solution-indentation errors

2 participants