Skip to content

Instantly share code, notes, and snippets.

@richardbwest
Created June 2, 2020 01:47
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 richardbwest/68db0a64f7f772c57b0de0c48ecfb5eb to your computer and use it in GitHub Desktop.
Save richardbwest/68db0a64f7f772c57b0de0c48ecfb5eb to your computer and use it in GitHub Desktop.
Brute force for loop version
chars = "abcdefghijklmNO123£$%"
for a in chars:
print(a)
for b in chars:
print(a+b)
for c in chars:
print(a+b+c)
for d in chars:
print(a+b+c+d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment