Magic Nine Bar

# Import the modules
import sys
import random
 
ans = True
 
while ans:
    question = raw_input(“Ask the magic nine bar a question: (press enter to quit) “)
    
    answers = random.randint(1,9)
    
    if question == “”:
        sys.exit()
    
    elif answers == 1:
        print “Remember”
    
    elif answers == 2:
        print “Freeze”
    
    elif answers == 3:
        print “Love”
    
    elif answers == 4:
        print “Play”
    
    elif answers == 5:
        print “Fix”
    
    elif answers == 6:
        print “Forget”
    
    elif answers == 7:
        print “Walk”
 
    elif answers == 8:
        print “Create”

    elif answers == 9:
        print “Dream”

Try a poem about detached emotion during a Bric-a-Brac sale.

Learn more about basic coding.