From 5c4341989037f2870702434524751c356b6d8128 Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Tue, 21 Jun 2022 19:02:41 +0200 Subject: [PATCH] woche12 > master: code py - imports von random methoden --- code/python/src/thirdparty/maths.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/python/src/thirdparty/maths.py b/code/python/src/thirdparty/maths.py index 8bf9eef..86b5ac4 100644 --- a/code/python/src/thirdparty/maths.py +++ b/code/python/src/thirdparty/maths.py @@ -10,6 +10,8 @@ import math; import numpy as np; import pandas as pd; import random; +from random import uniform; +from random import choice as uniform_random_choice; from tabulate import tabulate; # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -22,5 +24,7 @@ __all__ = [ 'np', 'pd', 'random', + 'uniform', + 'uniform_random_choice', 'tabulate', ];