Skip to content

Instantly share code, notes, and snippets.

@rueedlinger
Last active December 14, 2016 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rueedlinger/2bc4f5fabef6ba41efc3ef7221c15b35 to your computer and use it in GitHub Desktop.
Save rueedlinger/2bc4f5fabef6ba41efc3ef7221c15b35 to your computer and use it in GitHub Desktop.
import numpy as np
n = list(range(1, 43))
g = list(range(1, 7))
for i in range(1,15):
l = sorted(np.random.choice(n, 6, replace=False))
print(i, '-> ', l , " - ", np.random.choice(g,1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment