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 numpy as np | |
| from numpy.random import choice | |
| from multiprocessing import Pool | |
| class Game: | |
| def __init__(self, door_count: int, make_switch: bool): | |
| # Setup | |
| self.door_count = door_count |
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/python3.6 | |
| """ | |
| This script is meant to generate a given number of random words. | |
| I routinely use random word generators for brainstorming ideas. | |
| Maybe this tool can help you come up with some fresh ideas as well! | |
| If it doesn't, well, too bad. It's not like you paid a lot for it, Mr. Cheapskate. | |
| Examples (Call script from terminal) |