Question: Complete the following function according to its docstring: def average _ daily _ temp ( high _ temps: list [ int ] , low _

Complete the following function according to its docstring:
def average_daily_temp(high_temps: list[int],
low_temps: list[int])-> list[float]:
"""high_temps and low_temps are daily high and low temperatures for a series
of days. Return a new list of temperatures where each item is the daily
average.
Precondition: len(high_temps)== len(low_temps)
>>> average_daily_temp([26,27,27,28,27,26],[20,20,20,20,21,21])
[23.0,23.5,23.5,24.0,24.0,23.5]
"""

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!