TUTORSYNTAX | 100 PYTHON CODING CHALLENGES
Chapter 1 – Your First Python Challenges

Code pack • editorial review edition • 23 October 2026

Open each .py file in a Python 3 editor such as IDLE, Mu or PyCharm, or run it in a terminal.
The three files in /starter are the exact starting programs printed for Challenges 02, 08 and 09.
The ten scripts in /solutions are one possible working solution for each challenge (not the optional stretch tasks).
All scripts use standard Python 3, run offline, and do not require extra packages.
Solutions are provided for checking after trying the challenges independently.

All tasks and their complete printed starters are included in the book, so downloads are optional.
The sample scripts assume that the user follows the stated input specifications; further input
validation is intentionally reserved for later challenges or optional extensions.

The 10 solutions were automatically exercised against 23 test input cases during preparation.
