Skip to content

Prove in Python of the infinite monkey theorum, which takes a custom input and simulates the monkey typing on a typewriter

Notifications You must be signed in to change notification settings

tomScheers/Infinite_Monkey_Theorum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Infinite Monkey Theorum

This is a Python script, which is inspired by the famous Infinite Monkey Theorum, which states that if you let a monkey type random characters on a typewriter for an infinite amount of time, evventually it will have written the entire works of Shakespeare! Now my Python script doesn't have enough time to do that, but it is possible for it to search for some small words, and with small, I mean small. A 5 letter word would already take a few minutes on average, because this is Python.

About

This project utilises a random number generator to get a random char out of a selection of characters, which it then appends to the text and then it will look if it matches the input word, if not, go on.

About

Prove in Python of the infinite monkey theorum, which takes a custom input and simulates the monkey typing on a typewriter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages