Preview:
# 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)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter