id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tmhscs@gmail.com python > list_mean
prev  |  next  |  chance

Given an list of decimal numbers, return the average of all of its elements as a decimal.


list_mean([1, 2, 3, 4, 5]) → 3.0
list_mean([1.5, 3.0, 4.5]) → 3.0
list_mean([1.1, 1.2, 4.6]) → 2.3

...Save, Compile, Run (ctrl-enter)

def list_mean(data):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Post-solution available

Copyright Nick Parlante 2017 - privacy