image_smoother.py

O código e as páginas funcionais de exemplo mantêm seus identificadores e textos originais. A lição e as orientações dos arquivos explicam esses elementos no seu idioma.

def smooth_image(grid):
    """Return a new rectangular grid of rounded-down neighbourhood averages.
    Keep input unchanged; reject unequal row lengths with ValueError.
    Empty input returns []. See the lesson for the full contract.
    """
    raise NotImplementedError("Implement the seven-step design here")