Skip to content

Instantly share code, notes, and snippets.

@mcrisc
Created April 1, 2019 14:31
Show Gist options
  • Save mcrisc/5973ceabc1001786cd315711847068a6 to your computer and use it in GitHub Desktop.
Save mcrisc/5973ceabc1001786cd315711847068a6 to your computer and use it in GitHub Desktop.
Sorteio entre as equipes da Maratona IFSP 2019-1
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