code to generate a random number in python code example
Example 1: random number pythob
import random
random.randint(a,b)
Example 2: how to generate a random number python
import random
n = random.randint(0,22)
print(n)
import random
random.randint(a,b)
import random
n = random.randint(0,22)
print(n)