Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
AidanBaird authored Jun 5, 2022
1 parent 4c6006c commit 6836261
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Get_the_mean_of_an_array_kyu8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Find the mean of an array rounded down

import math


def get_average(marks):
total = 0
for number in marks:
total += number
return math.floor(total / len(marks))

0 comments on commit 6836261

Please sign in to comment.