MCPcopy Index your code
hub / github.com/geekcomputers/Python / magic_8_ball

Function magic_8_ball

magic8ball.py:41–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39
40
41def magic_8_ball():
42 question = inquirer.text(message="What's your question?").execute()
43 answer = random.choice(responses)
44 print(Fore.BLUE + Style.BRIGHT + answer + Style.RESET_ALL)
45 try_again()
46
47
48def try_again():

Callers 2

try_againFunction · 0.70
magic8ball.pyFile · 0.70

Calls 1

try_againFunction · 0.70

Tested by

no test coverage detected