MyLocations: p.253 exercise aspect fill thumbnails [SOLVED]

You should use built-in min and max functions instead of doing it by hand.

Here’s mine solution: