how do i genarate random integers in python] code 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)