create random number

PHOTO EMBED

Tue Jan 04 2022 10:02:22 GMT+0000 (Coordinated Universal Time)

Saved by @ahoeweler

# choose seed for reproducability
np.random.seed(123)

# create random float
np.random.rand()

# create random int of dice (between 1 and 6)
np.random.randint(1, 7)
content_copyCOPY