Created
April 6, 2016 10:45
-
-
Save jherrlin/7cb8a4323cbce1a33ec98894fe357b72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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