+ 1
How do you make a Random Number Generator in Python?
Need a Random Number Generator for a code.
2 odpowiedzi
+ 11
import random
// some codes pertaining random numbers
+ 3
Use this:
import random
x=random.randint(0, 5) #This will choose a number from 0 to 5