Answers for "random.randint limits"

7

python randint

from random import randint

print(randint(3, 9))
Posted by: Guest on January-16-2020
2

python randint

from random import randint
print(randint(1,2))
Posted by: Guest on October-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language