random module python 3.9 code example
Example 1: python random
from random import randint # Import randint from random
print(randint(1,20)) # Gets random number from first parameter to the second
Example 2: python randint
from random import randint
print(randint(1,2))