Skip to content

Instantly share code, notes, and snippets.

@gabrielcesar
Created August 24, 2014 22:44
Show Gist options
  • Save gabrielcesar/6bc63bb4cfd3ce041ae0 to your computer and use it in GitHub Desktop.
Save gabrielcesar/6bc63bb4cfd3ce041ae0 to your computer and use it in GitHub Desktop.
Sorteio por Número em Python
#!/usr/bin/python
# 20140824
import random
# numero de participantes
numero = 128
print
print 'SORTEIO'
print
print 'O ganhador foi o numero: ' + str ( random.randrange ( 1, numero ))
print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment