how to do rand function in python code example
Example 1: python randint
from random import randint
print(randint(3, 9))
Example 2: random in python
print(random.randint(1, 100))
print(random.random())
from random import randint
print(randint(3, 9))
print(random.randint(1, 100))
print(random.random())