I would give you some hints to get you started up:
- Use
filter
function to get the odd members of the given list. - Cube the resultant list using
map
function. - Find the mean of them by summing the list and dividing it by the length of the list.
I would give you some hints to get you started up:
filter
function to get the odd members of the given list. map
function.