Created
March 27, 2019 08:40
-
-
Save tjt263/a15250625cd77c35b71b8f85b350ca1f to your computer and use it in GitHub Desktop.
permutations of a set
This file contains hidden or 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
#!/usr/bin/env python3 | |
import string | |
import time | |
print('\033c') | |
x = string.ascii_uppercase | |
for a in x: | |
for b in x: | |
for c in x: | |
for d in x: | |
print(a,b,c,d,end='\r') | |
time.sleep(0.01) | |
print('\033c') |
Author
tjt263
commented
Mar 27, 2019
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment