Madame Zamad
For this assignment you will write a fortune-teller program. Your program will give the user either a fortune or a mystic response to a yes or no question.
Setup
Fork the following repository and clone your copy.
Open madame-zamad.py
in your text editor.
Requirements
Imports
use the
time
module'ssleep
function to simulate thinking about the questionor divining a fortune.
use the
random
module to randomly select items from lists
Lists
create a list of mystic answers to yes or no questions (e.g. "I don't foresee
positive results")
create a list of things to say to the user while they are waiting (e.g.
"divining...")
create a list of fortunes (e.g. "You will soon meet your childhood hero")
Last updated