how to generate random integers numbers in python code example
Example 1: n random numbers python
>>> import random
>>> random.sample(range(1, 100), 3)
[77, 52, 45]
Example 2: get n random numbers from x to y python
import random
random.sample(range(31), 10)