2022-2023/2nd/Evaluations/DM_2023-04-24/bopytex_config.py
Bertrand Benjamin b003547168
All checks were successful
continuous-integration/drone/push Build is passing
Feat(2nd): DM2
2023-03-16 09:57:38 +01:00

23 lines
538 B
Python

# bopytex_config.py
from math import ceil
from mapytex.calculus.random import expression as random_expression
from mapytex.calculus.random import list as random_list
from mapytex import stat
from mapytex import render
import random
random.seed(0) # Controlling the seed allows to make subject reproductible
render.set_render("tex")
direct_access = {
"random_expression": random_expression,
"random_list": random_list,
"stat": stat,
"random": random,
"min": min,
"max": max,
"int": int,
"ceil": ceil,
}