Skip to content

Instantly share code, notes, and snippets.

@jherrlin
Created April 6, 2016 10:45
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 jherrlin/7cb8a4323cbce1a33ec98894fe357b72 to your computer and use it in GitHub Desktop.
Save jherrlin/7cb8a4323cbce1a33ec98894fe357b72 to your computer and use it in GitHub Desktop.
import string
first = [i for i in range(7)]
second = ["{}{}".format(a,b) for a in string.ascii_uppercase for b in string.ascii_uppercase]
third = ['{}'.format(i).zfill(3) for i in range(10)]
big_list = []
for a in first:
for b in second:
for c in third:
big_list.append('{}{}{}'.format(a, b, c))
print(len(big_list))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment