Repository navigation
Correct two typos in exercise text (functions, python_by_example) - #638
Conversation
- functions.md: "Rewrite the function `factorial()` in from [Exercise 1]" -> "... `factorial()` from [Exercise 1]" - python_by_example.md hint: "noted that suppose `var = 42`" -> "note that if `var = 42`" Spotted by Copilot on QuantEcon/lecture-python-programming.ml#14, which copies exercise blocks byte-for-byte from this repo, so the typos can only be corrected here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes are limited to verified typo fixes in exercise text and do not affect MyST structure or code behavior.
Review effort: Lite
Findings: None
What changed in this PR
This PR fixes two minor wording typos inside MyST exercise/hint blocks in the lecture notes, improving clarity without changing any executable code or exercise structure.
Changes:
- Fixes grammar in
functions.mdExercise 5 (“in from” → “from”). - Fixes wording in
python_by_example.mdExercise 2 hint (“noted that suppose” → “note that if”).
| File | Description |
|---|---|
| lectures/functions.md | Corrects a typo in Exercise 5 instructions for the recursive factorial() rewrite. |
| lectures/python_by_example.md | Corrects a typo in Exercise 2 hint text about f-strings used in a plot legend. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
✅ Translation sync completed (zh-cn)Target repo: QuantEcon/lecture-python-programming.zh-cn
|
✅ Translation sync completed (fr)Target repo: QuantEcon/lecture-python-programming.fr
|
✅ Translation sync completed (fa)Target repo: QuantEcon/lecture-python-programming.fa
|
Carries the English corrections from QuantEcon/lecture-python-programming#638 into this edition, so its exercise blocks stay byte-identical to the source (the ruling on #12, applied in #14). Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Two small wording typos inside exercise blocks:
functions.md(Exercise 5)factorial()in from [Exercise 1] using recursion.factorial()from [Exercise 1] using recursion.python_by_example.md(Exercise 2 hint)var = 42, …var = 42, …Copilot spotted both on QuantEcon/lecture-python-programming.ml#14. That edition keeps exercise blocks byte-for-byte identical to this repo, so the typos can only be corrected at the source.
On merge: the translation sync will open a small PR in each of the zh-cn, fa and fr editions for these two lectures. The ml edition is not on the sync, so it will be brought into line separately.
🤖 Generated with Claude Code