My code keeps on saying that it has invalid character identifier.
import random
answer1 = ("Absolutely!")
answer2 = ("No way Pedro!")
answer3 = ("Go for it tiger.")
input("Welcome to the Magic 8 Ball game and use it to answer your questions...")
question = int(input("Ask me for any advice and I’ll help you out. Type in your question and then press Enter for an answer."))
print("shaking.... \n" * 4)
choice = random.randint(1,3)
if choice == 1:
answer = Answer1
elif choice == 2:
answer = Answer2
else:
answer = Answer3
print(answer)