Skip to content

Exercises

This directory contains exercises for each handbook chapter.

Structure

Each exercise file contains:

  • Problem statements
  • Hints for solving
  • Practice tasks

Note: Solutions are in the solutions/ directory.

How to Use

  1. Read the corresponding chapter
  2. Attempt the exercises
  3. Check your solutions against the provided solutions
  4. Review the reasoning in the solutions

Exercises

  • 01-introduction.md - Introduction to Python
  • 02-installation-and-setup.md - Installation and Setup
  • 03-running-python.md - Running Python Programs
  • 04-syntax-and-structure.md - Syntax and Program Structure
  • 05-values-variables-types.md - Values, Variables, and Types
  • 06-operators-expressions-input.md - Operators, Expressions, and Input
  • 07-strings.md - Strings and Text Processing
  • 08-control-flow.md - Control Flow
  • 09-collections.md - Collections
  • 10-functions.md - Functions
  • 11-comprehensions-generators.md - Comprehensions and Generators
  • 12-errors-exceptions-debugging.md - Errors, Exceptions, and Debugging
  • 13-files-paths-json-csv.md - Files, Paths, JSON, and CSV
  • 14-modules-packages-imports.md - Modules, Packages, and Imports
  • 15-virtual-environments-pip.md - Virtual Environments and pip
  • 16-oop.md - Object-Oriented Programming
  • 17-standard-library.md - Standard Library Tour
  • 18-testing-code-quality.md - Testing and Code Quality
  • 19-type-hints.md - Type Hints
  • 20-cli-programs.md - Command-Line Programs
  • 21-working-with-data.md - Working with Data
  • 22-practical-projects.md - Practical Projects
  • 23-where-to-go-next.md - Where to Go Next