0
How to randomly choose 1 integer between the min and max
import random def getRandomNumber(): for i in range(100): x = range.randrange(1,100) print(i) getRandomNumber()
1 Réponse
+ 5
random.randint(1,100)
import random def getRandomNumber(): for i in range(100): x = range.randrange(1,100) print(i) getRandomNumber()