Skip to content

Instantly share code, notes, and snippets.

@piotrbla
Created June 4, 2016 08:52
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 piotrbla/3695be23f55078c3f8553f346763dd79 to your computer and use it in GitHub Desktop.
Save piotrbla/3695be23f55078c3f8553f346763dd79 to your computer and use it in GitHub Desktop.
from random import choice
part1 = [x for x in range(1, 15)]
part2 = [x for x in range(16, 34)]
part3 = [x for x in range(35, 53)]
print(choice(part1))
print(choice(part2))
print(choice(part3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment