Files
IIabm/test.ipynb
T

1.3 KiB

In [9]:
import numpy as np

np.random.randint(0.5, 3.5)
p_remove = 1
np.random.choice([True, False], p=[p_remove, 1-p_remove])
rng = np.random.default_rng(0)
for _ in range(10):
    print(rng.integers(0,100))
85
63
51
26
30
4
7
1
17
81
In [ ]: