Milestone map
Milestone map
5 milestones
Rewrite one of your skills-learn-to-code programs using Python idioms: list comprehensions, f-strings, enumerate(), zip(), and the with statement. The rewritten version must be shorter and clearer than the original. Then write a second program from scratch that reads a CSV file, processes each row, and writes a summary to a new file — using only the Python standard library, no pandas.
Proof required
Share a GitHub Gist or repo showing the before and after versions of your rewritten program side by side. Share the CSV processing program with a sample input file and its output. Write 150 words on what makes Python idiomatic — what did you remove and why is the shorter version better, not just shorter?
What gets checked
- Before/after comparison is genuine — the after version uses comprehensions, f-strings, or context managers in a place where the before version used a loop, concatenation, or manual file close
- CSV program reads a real file the submitter created (not a downloaded dataset) and produces meaningful output, not just a print of each row
- The 'why shorter is better' reflection names a specific readability or safety improvement — not just 'it's cleaner'
Resources
Enroll free to unlock learning resources →Mastery
Unlocks after completing Foundation + Depth