Generation

generate functionTue, 21 Mar 2023

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

def mean(x): return sum(x) / len(x)

Questions about programming?Chat with your personal AI assistant