introduction to sets hackerrank solution

Solutions on MaxInterview for introduction to sets hackerrank solution by the best coders in the world

showing results for - "introduction to sets hackerrank solution"
Jason
24 Aug 2018
1def average(array):
2    # your code goes here
3    return sum(set(array))/len(set(array))
4