get random number in a range python code example
Example 1: random number pythob
import random
random.randint(a,b)
Example 2: random range python
from random import randrange
print(randrange(10))
import random
random.randint(a,b)
from random import randrange
print(randrange(10))