MCPcopy Create free account
hub / github.com/Avisikta-Majumdar/HackerRank_Python_Solutions / average

Function average

Introduction to Sets.py:1–3  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

1def average(array):
2 return (sum(set(array))/len(set(array)))
3 # your code goes here
4
5if __name__ == '__main__':
6 n = int(input())

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected