Skip to content

Instantly share code, notes, and snippets.

@daniel-obrien
Created October 31, 2016 21:20
Show Gist options
  • Save daniel-obrien/bdb3132165b858aede8708ceae9b1fb1 to your computer and use it in GitHub Desktop.
Save daniel-obrien/bdb3132165b858aede8708ceae9b1fb1 to your computer and use it in GitHub Desktop.
Random Number Generator Loop
while True:
import random
number=random.random()
number=10*number
print(int(number))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment