Answers for "python create random int"

1

random int python

from random import randint 
print(randint(1, 10))
Posted by: Guest on August-06-2021
0

how to make a random int in python

random.randint(0, 100)
##This would make the random number be from 0 to 100
Posted by: Guest on January-15-2021

Python Answers by Framework

Browse Popular Code Answers by Language