Generation

generate functionTue, 21 Mar 2023

Calculate mean and median values of this list with numpy functions water = [1,2,3,4,2,4,2,4,5,2,3,4,2,1,3,4,3,2,5,1]

def mean_median(x): return np.mean(x), np.median(x) mean_median(water)

Want to kickstart your project?Use the new AI Studio to create your code