Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d896909

Browse files
Answer
1 parent 5b4bc05 commit d896909

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎Sets/Introduction to Sets.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ def average(array):
33
length = len(se)
44
return(sum(se)/length)
55

6+
67
if __name__ == '__main__':
78
n = int(input())
89
arr = list(map(int, input().split()))
910
result = average(arr)
10-
print(result)
11+
print(result)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /