Skip to content

Instantly share code, notes, and snippets.

@sinistamunkey
Last active April 22, 2020 07:55
Show Gist options
  • Save sinistamunkey/6dc18eda55868ec30b1d165d09c34442 to your computer and use it in GitHub Desktop.
Save sinistamunkey/6dc18eda55868ec30b1d165d09c34442 to your computer and use it in GitHub Desktop.
A homage to Jonathan Frakes - asking you things
#!/usr/bin/env python
from typing import List
import random
QUESTIONS = [
"Have you ever had the desire to write your initials in wet cement?",
"Ever gone mountain biking?",
"What do ya wanna be when you grow up?",
"What's the right tip?",
"Have you called a plumber to your home lately?",
"How superstitious are you?",
"How much money would it take to make you spend a night in a cemetery?",
"Would you display this as a trophy?",
"Do you have a pet?",
"Do you have a sweet tooth?",
"Do you believe in the power of a curse?",
"Have you had your hearing tested lately?",
"Planning a trip soon?",
"Can you remember the tallest man you've ever seen?",
"Do ya love to go 'a wanderin' beneath the clear, blue sky?",
"Have you noticed what big stars real estate agents have become?",
"Are you careful with your personal records?",
"Does your computer ever seem to have a mind of its own?",
"Have you ever visited a China town section in a major city?",
"Have you ever visited a flea market?",
"Have you ever visited a truck stop?",
"Have you ever had a job as a waiter?",
"Have you noticed how many successful restaurants are theme-based these days?",
]
def get_question(questions: List[str]) -> str:
question = random.choice(questions)
return question
def main() -> None:
question = get_question(QUESTIONS)
print(question)
if __name__ == "__main__":
main()
@sinistamunkey
Copy link
Author

Needs tests

@jdheywood
Copy link

jdheywood commented Apr 20, 2020

Changes requested, lacks tests ;-)

@sibowyer
Copy link

Is two questions per run a bug or a feature? :)

@sinistamunkey
Copy link
Author

Major version change - fixed questions that were not split out.

Tests coming "soon"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment