randomm number python code example
Example 1: random number pythn
import random
n = random.randint(0,22)
print(n)
# Output: 2
Example 2: random number pythob
import random
random.randint(a,b)
import random
n = random.randint(0,22)
print(n)
# Output: 2
import random
random.randint(a,b)