Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def sample_mean(list):
- """ (list) -> number
- takes in a list of numbers as a parameter and returns the sample mean of the the numbers in that list
- sample_mean =
- sample_mean =
- """
- mean = 0
- values = [list]
- for list in values:
- print('The sample mean of', values, 'is', mean(list))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement