Objective
Create a Python program with a function called find_min_max() that receives a list of real numbers and returns its minimum and maximum values.
Instructions
- In the
mainfunction, ask the user for 5 real numbers and build a list with them. - Implement
find_min_max(), which receives the list and returns the minimum and the maximum (a function in Python can return several values at once). - Print the minimum and the maximum.
5.5
8.2
9.1
4.7
3.3
3.3
9.1
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise