0
Randomness?
I need a way to generate random numbers in Python3.
2 Answers
+ 4
There's the module random for it.
For example:
from random import randint
print(randint(1, 6))
Random number between 1 and 6.
+ 1
thanks!
I need a way to generate random numbers in Python3.