Created
January 5, 2017 23:34
-
-
Save benrules2/436c74eae7ec16e24895cbc8d3622a41 to your computer and use it in GitHub Desktop.
Main Markov Chain Function
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
| if __name__ == '__main__': | |
| message = read_file(sys.argv[1]) | |
| chain = build_chain(message) | |
| message = generate_message(chain) | |
| write_file("output.txt", message) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment