Skip to content

Instantly share code, notes, and snippets.

@mutolisp
Created March 18, 2010 03:46
Show Gist options
  • Save mutolisp/336023 to your computer and use it in GitHub Desktop.
Save mutolisp/336023 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
import random
pres=[2,3,4,6,8,10,11]
result=[]
for i in range(1,12):
if i not in pres:
result.append(i)
else:
continue
random.shuffle(result)
candidate=result[1],result[2]
print candidate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment