Last active
July 30, 2018 12:42
-
-
Save cglosser/63464e40b29e688850469627ab265045 to your computer and use it in GitHub Desktop.
Program to randomly filter a character out of a supplied string
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
import string | |
import random | |
def main(): | |
alphabet = list(string.ascii_lowercase) | |
random.shuffle(alphabet) | |
alphabet = ''.join(alphabet) | |
for char in alphabet: | |
print(char) | |
raw_input() | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment