Skip to content

Instantly share code, notes, and snippets.

View arocks's full-sized avatar

Arun Ravindran arocks

View GitHub Profile
@arocks
arocks / raffle.py
Created May 1, 2015 09:32
Randomly pick a twitter username n times and show the last picked as winner
# -*- coding: utf-8 -*-
""" raffle - Randomly pick a twitter username n times and show the last picked as winner"""
import random, time
TIMES = 20
entries = """
https://twitter.com/username1
https://twitter.com/username2
https://twitter.com/username3
alert("hi")