FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pythonprogram/avgno at master · Spacecoder19/pythonprogram · GitHub
Spacecoder19
pythonprogram
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
pythonprogram
/
avgno
Copy path
More file actions
More file actions
Latest commit
History
History
History
9 lines (7 loc) · 197 Bytes
Breadcrumbs
pythonprogram
/
avgno
Copy path
File metadata and controls
9 lines (7 loc) · 197 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
def cal_average(num):
sum_num = 0
for t in num:
sum_num = sum_num + t
avg = sum_num / len(num)
return avg
print("The average is", cal_average([17,26,3,21,35]))
Back
|
FazBrowse Home
|
New Git URL