Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed (UPI) Chapter 11: Mastering List Operations, Iteration, and Comprehensions!
Instruction
Common list operations
Using Built-In Operations
The max()
function called on a list returns the largest element in the list. The min()
function called on a list returns the smallest element in the list. The max()
and min()
functions work for lists as long as elements within the list are comparable.
The sum()
function called on a list of numbers returns the sum of all elements in the list.