added conditional probability generator

This commit is contained in:
Vhizux
2020-10-23 14:45:47 +02:00
parent abdd50e2ec
commit 2fbedfeb07
3 changed files with 31 additions and 5 deletions

10
test.py
View File

@@ -2,12 +2,12 @@ from mathgenerator import mathgen
# test your generators here
print(mathgen.addition())
# print(mathgen.addition())
# prints each generator in genList
list = mathgen.getGenList()
for item in list:
print(item[2])
# list = mathgen.getGenList()
# for item in list:
# print(item[2])
# print(mathgen.getGenList())
print(mathgen.genById(100))
print(mathgen.genById(101))