python print random value code example
Example 1: python function to print random number
import random
n = random.randint(0,22)
print(n)
Example 2: How to print random in python
import random
minimum = 1
maximum = 100
num = random.randint(minimum, maximum)
print(num)