# MY MAGIC A BALL
import random
# write answers
ans1="good luck"
ans2="go home"
ans3="ask someone else"
ans4="better luck next time"
ans5="that’s sad"
ans6="good for you"
ans7="aww"
ans8="hahaha"
print("Welcome to MyMagicBallGame.")
# get the user's question
qustion = input("Ask me for advice then press ENTER to shake me.\n")
print("shaking ...\n" * 4)
# use the randint() function to select the correct answer
choice=[Link](1, 8)
if choice==1:
answer=ans1
elif choice==2:
answer=ans2
elif choice==3:
answer=ans3
elif choice==4:
answer=ans4
elif choice==5:
answer=ans5
elif choice==6:
answer=ans6
elif choice==7:
answer=ans7
else:
answer=ans8
# printthe answer to the screen
print(answer)
input("\n\nPress the RETURN key to finish.")#