Magic 8 Ball Code

Step 1

input("What is your question?")

print("The answer is...maybe")

Step 2

input("What is your question?")

print("The answer is...")

number = 3

if number == 1:
    print("maybe")
if number == 2:
    print("definitely")
if number == 3:
    print("no chance")

Step 3

import random

input("What is your question?")

print("The answer is...")

number = random.randint(1,3)

if number == 1:
    print("maybe")
if number == 2:
    print("definitely")
if number == 3:
    print("no chance")