Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- stillPlaying = True
- again = True
- responses = ["Certainly","Of course","Yes","Maybe","No","Probably not","Sure","Try asking again","Nope","Yup!","I'm not sure"]
- while stillPlaying == True:
- question = input("Ask away!\n")
- if (question == "what do we do now"):
- print("Nothing.")
- elif (question == "can i have something to eat"):
- print("No")
- else:
- print(responses[random.randint(0,10)])
- again = input("Would you like to ask again\n")
- if again == "no":
- stillPlaying = False
- print("The Magic Conch Shell has spoken!\n")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement