Created
August 24, 2014 22:44
-
-
Save gabrielcesar/6bc63bb4cfd3ce041ae0 to your computer and use it in GitHub Desktop.
Sorteio por Número em Python
This file contains hidden or 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
#!/usr/bin/python | |
# 20140824 | |
import random | |
# numero de participantes | |
numero = 128 | |
print 'SORTEIO' | |
print 'O ganhador foi o numero: ' + str ( random.randrange ( 1, numero )) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment