import numpy as np# generate a single int from 0 to 100 (exclusive)np.random.randint(0,100)# >>> 56# generate 5 random ints from 0 to 100 (exclusive)np.random.randint(0,100, size=5)# >>> [29,52,89,9,22,3]
1 comment
Like
1 Comment
Commenting on this post isn't available anymore. Contact the site owner for more info.
Good to know that.