How codedex-io/python-101 works
The repository is a collection of beginner Python exercise solutions, organized as a course from basic output and variables through control flow, collections, functions, classes, and modules. A learner follows the Codédex course and runs individual scripts to practice a concept and see its output. The graph groups related exercise stages rather than implying that scripts call one another. README establishes the course sequence and exercise topics; sampled scripts show direct input, computation, and printed output, but not a shared runtime or application architecture.
Main entry points: 2-variables Variables and Math · 38_pokedex_2.py Pokédex · 39_slot_machine_2.py Slot Machine · 1-hello-world Setup and Output
Components 19
Python Foundations
- Setup and Output
1-hello-world - Text Art
1-hello-world - Variables and Math
2-variables
Program Logic
- Conditionals
3-control-flow - Quiz Scoring
3-control-flow/16_sorting_hat_1.py - Loops
4-loops
Data and Functions
- List Exercises
5-lists - Function Exercises
6-functions - Fortune Cookie
6-functions/29_fortune_cookie_2.py
Classes and Objects
- Restaurant Objects
7-classes-objects/35_bobs_burgers.py - City Objects
7-classes-objects/36_favorite_cities.py - Bank Accounts
7-classes-objects/37_bank_accounts.py - Pokédex
7-classes-objects/38_pokedex_2.py
Modules
- Slot Machine
8-modules/39_slot_machine_2.py - Solar System
8-modules/40_solar_system.py - Birthday Modules
8-modules/41_main.py - Zen of Python
8-modules/43_zen.py
Other components
- Learner
- Printed Results
Connections 25
- Learner → Setup and Output: starts course
README.md - Setup and Output → Text Art: continues to
README.md - Text Art → Variables and Math: continues to
README.md - Variables and Math → Conditionals: continues to
README.md - Conditionals → Loops: continues to
README.md - Loops → List Exercises: continues to
README.md - List Exercises → Function Exercises: continues to
README.md - Function Exercises → Restaurant Objects: continues to
README.md - Restaurant Objects → City Objects: continues to
README.md - City Objects → Bank Accounts: continues to
README.md - Bank Accounts → Pokédex: continues to
README.md - Pokédex → Slot Machine: continues to
README.md - Slot Machine → Solar System: continues to
README.md - Solar System → Birthday Modules: continues to
README.md - Birthday Modules → Zen of Python: continues to
README.md - Learner → Quiz Scoring: answers questions
3-control-flow/16_sorting_hat_1.py - Quiz Scoring → Printed Results: prints scores
3-control-flow/16_sorting_hat_1.py - Learner → Fortune Cookie: runs exercise
6-functions/29_fortune_cookie_2.py - Fortune Cookie → Printed Results: prints fortunes
6-functions/29_fortune_cookie_2.py - Learner → Slot Machine: plays game
8-modules/39_slot_machine_2.py - Slot Machine → Printed Results: prints spins
8-modules/39_slot_machine_2.py - Learner → Variables and Math: enters values
2-variables/10_currency.py - Variables and Math → Printed Results: prints calculation
2-variables/10_currency.py - Learner → Pokédex: runs examples
7-classes-objects/38_pokedex_2.py - Pokédex → Printed Results: speaks Pokémon
7-classes-objects/38_pokedex_2.py