How would you implement a solution to compute averages from a list of values in a coding session using an IDE?
Implement compute_average(values), which accepts a list of numbers and returns their arithmetic average as a floating-point number. Return None when the list is empty.
None when values is emptydef compute_average(values):