Last active
December 15, 2015 20:49
-
-
Save AlexeyMK/5321752 to your computer and use it in GitHub Desktop.
permute some letters
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 | |
from random import shuffle | |
alphabet = list(string.lowercase + string.digits) | |
shuffle(alphabet) | |
print "".join(alphabet) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment