Back to Lesson
Data Range Normalization
Use min(), max() and round() to process an analytical calculation.
Instructions
- Given a list of readings:
data = [12.4, 8.2, 19.5, 4.1, 15.6] - Calculate the range (the difference between the maximum and minimum values).
- Print the range, rounded to exactly 1 decimal place using.
round()
main.py
main.py
Ctrl + Enter