Skip to content

Latest commit

 

History

History

README.md

01 — Fundamentals

Setup, syntax, variables, types, operators, I/O, and control flow.

How each lesson works

Every .py file follows the same theory + practice format:

  1. THEORY — read the docstring at the top (What, Why, Key rules, When to use, Common mistakes)
  2. PRACTICE — run the file; numbered sections walk through runnable examples
python3 core-python/modules/01-fundamentals/01_verify_installation.py
python3 core-python/modules/01-fundamentals/04_hello_world.py

Lessons

File Topic
01_verify_installation.py Check Python version
02_virtual_environment.py venv workflow
03_project_layout.py Project structure
04_hello_world.py First program, print
05_variables_and_types.py int, float, str, bool, None
06_operators.py Arithmetic, comparison, logical
07_input_output.py input(), f-strings
08_truthiness_and_identity.py == vs is, truthy/falsy
09_bytes_and_encoding.py bytes, encode/decode
10_if_else.py Conditionals
11_loops.py for, while, range
12_break_continue_pass.py Loop control
13_match_case.py Pattern matching

→ Next: 02-data-structures

Interview prep: INTERVIEW.md — 28+ questions with answers