import random documentation python code example
Example 1: random number pythob
import random
random.randint(a,b)
Example 2: python random
from random import randint # Import randint from random
print(randint(1,20)) # Gets random number from first parameter to the second