Answers for "genrate random numbers in python"

3

random number pythn

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

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

python random number

# Random number game
from random import randint

print(randint(1,11))

~~ prints answers from 1 to 10 ~~
Posted by: Guest on January-22-2021

Code answers related to "genrate random numbers in python"

Python Answers by Framework

Browse Popular Code Answers by Language