chore: initialize containerized Python learning workbook (2026 DevOps/SRE)

This commit is contained in:
soda64 committed 2026-11-30 22:55:56 +01:00
commit ae4c421815
63 files changed
+1273

No files matched your search

@@ -0,0 +1,11 @@
# 05 — Comprehensions, Generatory i Styl Funkcyjny
## Zadania (`functional_ex.py`)
1. `even_squares(nums: list[int]) -> list[int]` — kwadraty liczb parzystych przez list comprehension.
2. `invert_dict(mapping: dict[str, int]) -> dict[int, str]` — odwrócenie słownika przez dict comprehension.
3. `fibonacci_gen(limit: int) -> Iterator[int]` — generator zwracający `limit` pierwszych liczb Fibonacciego (`0, 1, 1, 2, 3, ...`).
## Uruchomienie testów
```bash
make test MOD=01-core/05-comprehensions-functional
```