f8-ball/f8ball.py

33 lines
677 B
Python
Executable File

#!/usr/bin/python
import random
import sys
def magic_fate_ball():
# Define possible responses
responses = [
"Aye!",
"Nay",
"Affirmative.",
"Negative.",
"Yes!",
"No.",
"Look deep inside and ask your self."
"Maybe?",
"Ask again later.",
"Cannot predict now.",
"Don't count on it!",
"Very doubtful.",
"Outlook Good!",
"Don't bet the farm on it.",
"This is The Way."
]
# Display a random response
response = random.choice(responses)
print(f"The Pythonic Fate Ball says: {response}")
if __name__ == "__main__":
magic_fate_ball()