[Exercise Approaches]: Audit/Cleanup of Track Approaches 2026 (part 2)
This is a tracking issue for existing approaches on the Python track. (Part 1 of the audit/cleanup was issue #4055.)
In general, we are auditing/reviewing the following:
- Spelling, grammar, and typos
- Python syntax
- Clarity of writing and explanation
- Readability and maintainability
- White space
- Other Exercism markdown specifications as needed
- Possible missing/additional approaches (noted as TODOs of future work)
See the lists for each category below. Exercises in "Merged Audits" have been reviewed, changed, and merged. Exercises in "Unaudited" have approaches that have not been audited yet.
Exercises in "Approaches In Progress" do not have finished/published approaches yet, while those in "Missing Approaches" do not have any known work on their approaches yet.
If you want to work on an exercise that is missing an approach, please check in with the maintainers to avoid conflicting with current track priorities or others who may be working on things.
Merged Audits
- Acronym: #4258
- Atbash Cipher: #4191
- Collatz Conjecture: #4250
- Darts: #4187
- Leap: #4252
- Reverse String: #4226
- RNA Transcription: #4052 and #4191
- Robot Name: #4051
- Roman Numerals: #4289 and #4300
- Rotational Cipher: #4184
- Sublist: #4190
- Wordy: #4198
Unaudited
- All Your Base
- Bob: PR forthcoming
- Circular Buffer
- DnD Character
- Flower Field (formerly Minesweeper)
- Grains
- Hamming
- Isogram
- Luhn
- Matching Brackets
- Nth Prime
- Palindrome Products
- Pangram
- Pig Latin
- Raindrops: PR #4308
- Scrabble Score
- Sieve
- Yacht
Approaches In Progress
- Allergies
- Anagram
- Armstrong Numbers
- Book Store
- ETL: #3378
- Gigasecond: #3772
- ISBN Verifier
- Markdown
- Matrix
- Perfect Numbers
- Protein Translation
- Robot Simulator
- Saddle Points
- Say
- Space Age
- Sum Of Multiples: #3375
- Transpose
- Triangle
- Word Count: #3371
Missing Approaches
- Affine Cipher
- Alphametics
- Bank Account
- Binary Search
- Binary Search Tree
- Bottle Song
- Bowling
- Change
- Clock
- Complex Numbers
- Connect
- Crypto Square
- Diamond
- Difference Of Squares
- Diffie Hellman
- Dominoes
- Dot DSL
- Flatten Array
- Food Chain
- Forth
- Go Counting
- Grade School
- Grep
- Hangman (to be replaced by Save the Cow)
- High Scores
- House
- Kindergarten Garden
- Knapsack
- Largest Series Product
- Ledger
- Linked List
- List Ops
- Meetup
- OCR Numbers
- PaaS I/O
- Phone Number
- Poker
- POV
- Prime Factors
- Proverb
- Pythagorean Triplet
- Queen Attack
- Rail Fence Cipher
- Rational Numbers
- React
- Rectangles
- Resistor Color
- Resistor Color Duo
- Resistor Color Trio
- Rest API
- Run Length Encoding
- Satellite
- Scale Generator
- Secret Handshake
- Series
- SGF Parsing
- Simple Cipher
- Simple Linked List
- Spiral Matrix
- Tournament
- Tree Building
- Twelve Days
- Two Bucket
- Two Fer
- Variable Length Quantity
- Word Search
- Zebra Puzzle
- Zipper
@gjbbcjj The changes to the Acronym exercise were already PR'd.
@kyliekamesha26 - I'm sorry, but this issue is closed to contributions from anyone but Yrahcaz7, who was originally assigned to it.
Overall:Roman Numerals Dig Deeper audit
if conditions" approach.itertools.starmap() approach.if-else/content.md, if-else/snippet.txt, and introduction.md:
+=.>.> 0 and > 4 comparisons.table-lookup/content.md, table-lookup/snippet.txt, and introduction.md:
introduction.md): "we need" should be "get" and "our" should be "the".
loop-over-romans/content.md) has an unnecessary assertion.
while".
recurse-match/content.md, recurse-match/snippet.txt, and introduction.md:
[ROMAN_NUM[idx],] is unnecessary, as it is a single-element list, not a tuple.case [num, idx, digits]:) can be changed to a default case (case _:).
introduction.md) use double quotes.convert.ltr variable represents from its name. It should probably be renamed to roman_val or similar.loop-over-roman instead of loop-over-romans.itertools-starmap/content.md and itertools-starmap/snippet.txt:
compute" should probably be "compute()".
@BethanyG, can I open a PR to fix these? (Or perhaps 2 separate ones due to the amount?)
Hi @Yrahcaz7 👋🏽
@BethanyG, can I open a PR to fix these? (Or perhaps 2 separate ones due to the amount?)
Apologies for the delay in replying. Go for it. Maybe two groups: The straight-up typos, whitespace, and punctuation-related stuff. And a second one for rephrases and other more substantial edits? Many thanks for working on this!
I can take a look at auditing Circular Buffer next, specifically ensuring we cover the trade-offs between using a
Overall: The performance article's Raindrops Dig Deeper audit
str.join() have a link to the docs on join().
3, 5 or 7)".'Plong' and (7).f-strings" here.results" here.approach-itertools-compress, not itertools-compress.number % factor.# and has an extra space before "Unless".n is usually used for big-O notation instead of m when there is only one factor.
introduction.md.sounds" here.truthy-and-falsey-with-fstring/content.md:
modulo == 1 should be modulo > 0.introduction.md): The #OR# is indented here.f-strings should be linked here.introduction.md): The last comma is unnecessary.'Pling" should be 'Pling'.'' looks like a double quote when rendered on the website. Surrounding it in backticks could fix this.
introduction.md, line 3 in loop-and-fstring/snippet.txt): Double quotes are used here, when single quotes are used in most other places.introduction.md): "sounds string" should be "the sounds string".introduction.md): "Sounds" should be "sounds".sequence-with-join/content.md:
introduction.md) use double quotes.introduction.md, line 6 in sequence-with-join/snippet.txt) have unnecessary parentheses around the if clause.introduction.md): "Sounds" should be "sounds".
if clause.itertools-compress/content.md:
itertools-compress/snippet.txt) should either use parentheses or there should be explanation of implicit tuple creation.introduction.md, line 5 in itertools-compress/snippet.txt) have unnecessary parentheses around number % factor.
introduction.md, line 5 in functools-reduce/snippet.txt) have unnecessary parentheses around number % factor.#.item[0] * item[1].
introduction.md): PEP 622 was superseded by PEP 634, which points to the up-to-date documentation here.snippet.md:
@BethanyG, can I open a PR for these? (There's quite a few audit items, but only a couple of them need prose rewording.)
@BethanyG, can I open a PR for these? (There's quite a few audit items, but only a couple of them need prose rewording.)
Go for it! 😄
I am planning to audit the All Your Base approach documentation; should I prioritize updating the conversion logic explanation for multi-base edge cases before touching the formatting?
@damianoecker26, please see this comment.. Thanks.
@edinakama - did you not see the comment above? Please respect that. Thanks,
Regarding the Unaudited list, should I prioritize All Your Base to align with the existing style guide for functional decomposition, or is there a specific target for how to handle the base conversion logic in the approaches doc?
@brokendenim - As I said to @edinakama -- please read this comment. Thanks.