mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
linter fix
This commit is contained in:
@@ -35,6 +35,6 @@ class Generator:
|
|||||||
|
|
||||||
def getGenList():
|
def getGenList():
|
||||||
correctedList = genList[-1:] + genList[:-1]
|
correctedList = genList[-1:] + genList[:-1]
|
||||||
#Orders list by id
|
# Orders list by id
|
||||||
correctedList.sort()
|
correctedList.sort()
|
||||||
return correctedList
|
return correctedList
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
from .__init__ import *
|
from .__init__ import *
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
|
||||||
def meanMedianFunc(maxlen=10):
|
def meanMedianFunc(maxlen=10):
|
||||||
randomlist = random.sample(range(1, 99), maxlen)
|
randomlist = random.sample(range(1, 99), maxlen)
|
||||||
total = 0
|
total = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user