Skip to content

Instantly share code, notes, and snippets.

@idlecool
Created December 25, 2012 03:14
Show Gist options
  • Save idlecool/4371509 to your computer and use it in GitHub Desktop.
Save idlecool/4371509 to your computer and use it in GitHub Desktop.
import random
party = ["a", "b", "c", "d", "e", "f"]
while len(party) != 0:
print party.pop(random.randint(0, len(party) - 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment