Generation

generate functionSun, 13 Nov 2022

Find the mean value from a list of numbers

def mean(input_list): total = 0 for i in input_list: total += i return total / len(input_list) mean([1,2,3,4,5])

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