Skip to content

Instantly share code, notes, and snippets.

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
@matthewkovacs
matthewkovacs / randomwords.py
Created July 19, 2018 00:55
Use Python to Generate Random Words
#!/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)