numpy-100/initialise.py
2020-01-12 14:22:49 +00:00

21 lines
251 B
Python

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