function name included in generator instance variables and genList[3]

This commit is contained in:
lukew3
2020-10-20 10:13:54 -04:00
parent 82a0e1433a
commit b4044facf6
7 changed files with 121 additions and 97 deletions

View File

@@ -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())
"""