To explore the data we store in lists, it's often useful to find the extreme values: the minimum and the maximum.
To find the largest number in a list of data like a, code max(), with the name of the list between parentheses.
To find the smallest number in a list, we use min() with the list name between parentheses.
>>> aa = [8,9,2,6,5]
>>> max(aa)
9
>>> min(aa)
2