0

How do you make a random number generator in python

question says it all i tried looking it up online but haven't had success in the code they suggested is it just me or is it the terminal in app?

27th Jul 2017, 9:09 PM
Daniel Robertson
Daniel Robertson - avatar
3 odpowiedzi
+ 1
try: from random import randint for i in range(10): print(randint(1,100))
27th Jul 2017, 9:11 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 1
You are welcome ^^
27th Jul 2017, 9:13 PM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
0
awesome ty!!! everything i looked up was close but not quite there
27th Jul 2017, 9:13 PM
Daniel Robertson
Daniel Robertson - avatar