Python
> for
>
>
> squares = [i**2 for i in range(5)]
> print(squares)
> # [0, 1, 4, 9, 16]
>
>
> * * *
>
>
> squares = []
> for i in range(5):
> squares.append(i**2)
>
> print(squares)
> # [0, 1, 4, 9, 16]
>
imgs = []
for i in range(1, 25):
imgs.append(Image.fromarray(mosaic(src, 1 / i)))
python