how to make 2 random numbers in python code example
Example 1: python random number
from random import randint
print(randint(1,3))
#Possible Outputs#
#1
#2
#3
Example 2: get n random numbers from x to y python
import random
random.sample(range(31), 10)