# breaking it down easy

Temperature Week

Seven days of readings, one tidy weather report. 🌤️

You get 7 temps (average always whole). Print four lines: high <max>, low <min>, average <mean>, and trend warming if the last day beats the first, trend cooling if it's colder, or trend steady.

Example:

Input: temps = [12, 15, 11, 18, 20, 17, 19] Output:

high 20
low 11
average 16
trend warming

The max is 20, the min is 11, the mean is 112 / 7 = 16, and the last day (19) beats the first day (12) — so the trend is warming.

💡 need a hint?

brk-temperature-week.py🔒 given lines are locked — write your code in between
loading...