Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
def
average(array):
2
return
(sum(set(array))/len(set(array)))
3
# your code goes here
4
5
if
__name__ ==
'__main__'
:
6
n = int(input())
Callers
1
Introduction to Sets.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected