Files

11 lines
413 B
Python

def unique_sorted(items: list[int]) -> list[int]:
raise NotImplementedError("Zwróć posortowaną listę unikalnych elementów")
def word_counts(text: str) -> dict[str, int]:
raise NotImplementedError("Policz wystąpienia słów (case-insensitive)")
def first_and_last(items: list[str]) -> tuple[str, str] | None:
raise NotImplementedError("Zwróć (pierwszy, ostatni) lub None dla pustej listy")