diff --git a/mathgenerator/__init__.py b/mathgenerator/__init__.py index 53ea76f..381125f 100644 --- a/mathgenerator/__init__.py +++ b/mathgenerator/__init__.py @@ -35,6 +35,6 @@ class Generator: def getGenList(): correctedList = genList[-1:] + genList[:-1] - #Orders list by id + # Orders list by id correctedList.sort() return correctedList diff --git a/mathgenerator/funcs/statistics/mean_median.py b/mathgenerator/funcs/statistics/mean_median.py index 3464b08..85456c8 100644 --- a/mathgenerator/funcs/statistics/mean_median.py +++ b/mathgenerator/funcs/statistics/mean_median.py @@ -1,6 +1,7 @@ from .__init__ import * import random + def meanMedianFunc(maxlen=10): randomlist = random.sample(range(1, 99), maxlen) total = 0