diff --git a/gradefetcher/gradefetcher.py b/gradefetcher/gradefetcher.py index 71a92fa..e4aeb39 100644 --- a/gradefetcher/gradefetcher.py +++ b/gradefetcher/gradefetcher.py @@ -22,6 +22,7 @@ def grade_from_list(grades): + """take a list of integers and calculate grade from them""" if len(grades) > 1: total_grade = sum(grades) grade = int(truediv(total_grade * 100, len(grades)))