geneartors added and new md and jupyter files created

This commit is contained in:
SebastianoF
2019-11-23 20:05:14 +00:00
parent 25fdc1c6a0
commit bb4fdeb057
17 changed files with 2311 additions and 5217 deletions

20
initialise.py Normal file
View File

@@ -0,0 +1,20 @@
import numpy as np
import data_source as ds
def question(n):
print(f'{n}. ' + ds.QHA[f'q{n}'])
def hint(n):
print(ds.QHA[f'h{n}'])
def answer(n):
print(ds.QHA[f'a{n}'])
def pick():
n = np.random.randint(1, 100)
question(n)