introduction to sets hackerrank solution

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

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
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