Created
April 1, 2019 14:31
-
-
Save mcrisc/5973ceabc1001786cd315711847068a6 to your computer and use it in GitHub Desktop.
Sorteio entre as equipes da Maratona IFSP 2019-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
import time | |
equipes = [ | |
'@7L4$', | |
'#include<maratona.h>', | |
'A Pena do Ponteiro Solto', | |
'Reapers', | |
'Grupo Ah Moleque', | |
'Anonymous', | |
'Os resilientes.'] | |
print('E o vencedor é', end='') | |
for _ in range(20): | |
time.sleep(0.25) | |
print('.', end='', flush=True) | |
print(' ', end='') | |
random.shuffle(equipes) | |
sorteado = random.choice(equipes) | |
print(sorteado) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment