Skip to content

Instantly share code, notes, and snippets.

@moali87
Created February 27, 2017 04:20
Show Gist options
  • Save moali87/1316c45396ea1a60ae286d8955996897 to your computer and use it in GitHub Desktop.
Save moali87/1316c45396ea1a60ae286d8955996897 to your computer and use it in GitHub Desktop.
import random
import time
z = range(0, 99)
while True:
z1 = random.choice(z)
i = random.sample(range(0,99), 4)
q = i[0]
w = i[1]
e = i[2]
time.sleep(1)
r = i[3]
print(" Your numbers: " + str(q), str(w), str(e), str(r) + " Powerball: "+ str(z1), end=" ", flush=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment