how to make a range of random numbers python code example
Example 1: random number pythn
import random
n = random.randint(0,22)
print(n)
# Output: 2
Example 2: how to import random in python
import random
import random
n = random.randint(0,22)
print(n)
# Output: 2
import random