mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 06:25:23 +01:00
genList sort and add requirement imports to main package
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
import sys
|
||||
import traceback
|
||||
|
||||
import random
|
||||
import sympy
|
||||
import numpy
|
||||
import scipy
|
||||
|
||||
genList = []
|
||||
|
||||
|
||||
@@ -29,4 +35,6 @@ class Generator:
|
||||
|
||||
def getGenList():
|
||||
correctedList = genList[-1:] + genList[:-1]
|
||||
#Orders list by id
|
||||
correctedList.sort()
|
||||
return correctedList
|
||||
|
||||
Reference in New Issue
Block a user