Function returns

Question

Write a function that returns both the minimum and
maximum of a list.

Answer