mirror of
https://github.com/DeaDvey/mathgenerator.git
synced 2025-11-28 14:35:23 +01:00
function name included in generator instance variables and genList[3]
This commit is contained in:
7
test.py
7
test.py
@@ -3,10 +3,13 @@ from mathgenerator import mathgen
|
||||
# test your generators here
|
||||
|
||||
print(mathgen.addition())
|
||||
print(mathgen.genById(79))
|
||||
print(mathgen.genById(70))
|
||||
|
||||
# prints each generator in genList
|
||||
|
||||
"""
|
||||
list = mathgen.getGenList()
|
||||
for item in list:
|
||||
print(item[2])
|
||||
|
||||
print(mathgen.getGenList())
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user