random number python example
Example 1: random number pythn
import random
n = random.randint(0,22)
print(n)
# Output: 2
Example 2: random numbers python
import random
a = (random.randint(bottom value, top value)
import random
n = random.randint(0,22)
print(n)
# Output: 2
import random
a = (random.randint(bottom value, top value)