Skip to content

Glossary: Python Basics

max, min, sum, sorted

Also written: max(), min(), sum(), sorted()

Built-in functions for a collection of values. They give the largest, smallest, total, and a new list in order. `sorted` leaves the original alone, unlike the `.sort()` method.

Where the book teaches it