0
Random number
Does anyone know the Python codes for a random number
3 Answers
+ 6
import from the random module. Depending on what you need, use random, randrange, randint or what fits your needs.
further reading: https://docs.python.org/3/library/random.html
+ 1
thx
0
Import random
A =(random.randint(1, 5))
print(A)