Files
python-learning/exercises/01-core/05-comprehensions-functional/functional_ex.py
T

14 lines
435 B
Python

from collections.abc import Iterator
def even_squares(nums: list[int]) -> list[int]:
raise NotImplementedError("Zwróć listę kwadratów liczb parzystych")
def invert_dict(mapping: dict[str, int]) -> dict[int, str]:
raise NotImplementedError("Zamień klucze z wartościami w słowniku")
def fibonacci_gen(limit: int) -> Iterator[int]:
raise NotImplementedError("Wygeneruj limit liczb Fibonacciego używając yield")