https://github.com/guimesmo/numero_da_sorte/
import random
def numero_da_sorte():
l = list(range(1, 61))
random.shuffle(l)
print("-".join([str(i) for i in l[:6]]))
numero_da_sorte()
Baseado nesse cara aqui:
http://piscoespecial.blogspot.com.br/2012/08/script-em-python-para-mega-sena.html
Nenhum comentário:
Postar um comentário