<gh_stars>0
# Simulates a magic eight ball.
# Prompts the user to type a yes or no question and gives
# a random answer from a set of prefabricated responses.
import random


def main():
# Your job is to write a program that
# continuously prompts the user for a 
# yes or no question, and then randomly 
# selects from a set of canned answers
    answers = [
    "It's beer o'clock.",
    "It's 8 o'clock somewhere.",
    "I am too busy to care.",
    "Go talk to someone who gives a dime.",
    "Ask me later.",
    "Yes.",
    "No."
    ]
    question = input("Ask me a question: ")
    
    while question != "":
        print(answers[random.randint(0,len(answers)-1)])
        question = input("Ask me a question: ")

if __name__ == "__main__":
    main()