Answers for "How do you generate a random number variable in Python?"

3

random number pythn

import random
n = random.randint(0,22)
print(n)

# Output: 2
Posted by: Guest on August-23-2020

Code answers related to "How do you generate a random number variable in Python?"

Python Answers by Framework

Browse Popular Code Answers by Language