Skip to content

Instantly share code, notes, and snippets.

@0xIslamTaha
Created June 28, 2018 10:16
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 0xIslamTaha/01f9ded6ee6a4621afe5908bad9328a2 to your computer and use it in GitHub Desktop.
Save 0xIslamTaha/01f9ded6ee6a4621afe5908bad9328a2 to your computer and use it in GitHub Desktop.
import itertools
items = [['ubuntu', 'zero-os'],
[512, 1024, 2048, 4096, 8192],
[10, 50, 100, 200],
['btrfs', 'ext4', 'ext3', 'ext2'],
['hdd', 'ssd']]
results = list(itertools.product(*items))
print(results)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment