random.randint example
Example 1: random.randint
import random
print(random.randint(3, 9))
Example 2: python randint
from random import randint
print(randint(1,2))
import random
print(random.randint(3, 9))
from random import randint
print(randint(1,2))