Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. def sample_mean(list):
  2. """ (list) -> number
  3. takes in a list of numbers as a parameter and returns the sample mean of the the numbers in that list
  4. sample_mean =
  5. sample_mean =
  6. """
  7. mean = 0
  8. values = [list]
  9. for list in values:
  10. print('The sample mean of', values, 'is', mean(list))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement