Answers for "generate random numberp ython"

10

how to generate a random number python

import random
n = random.randint(0,22)
print(n)
Posted by: Guest on June-03-2020
1

random number generator in python

import random

a = random.randint(0,10)
print(random.randint(0,a))
Posted by: Guest on January-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language