For a list of numbers, return a list where element i is the mean of the first i + 1 numbers, rounded to two decimal places.
Implement running_average. Input: values: list[float]. Returns: list[float].
def running_average(values: list[float]) -> list[float]:
pass
Run executes the public tests. Submit grades against public and hidden tests.
For a list of numbers, return a list where element i is the mean of the first i + 1 numbers, rounded to two decimal places.
Implement running_average. Input: values: list[float]. Returns: list[float].
def running_average(values: list[float]) -> list[float]:
pass
Run executes the public tests. Submit grades against public and hidden tests.