I Haz Codes

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

A list of numbers have been given as an array.

numbers = [6,2,90,210,67,2,79,21,5,1,8,66,43,12,543]

You need to write a program which will output all of the outliers in a given array. An outlier will be any number which is more than 10 away from the average.

Comments are closed.