Skip to content

Instantly share code, notes, and snippets.

@hypnguyen1209
Created September 13, 2022 14:01
Show Gist options
  • Save hypnguyen1209/9a1d7a43548fa65984f8863f7bf0858e to your computer and use it in GitHub Desktop.
Save hypnguyen1209/9a1d7a43548fa65984f8863f7bf0858e to your computer and use it in GitHub Desktop.
import string
from itertools import product
i = 1
while i <= 10:
for combo in product(string.ascii_letters + string.digits, repeat=i):
print(''.join(combo))
i = i+1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment