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.

Madame Zamad

Open madame-zamad.py in your text editor.

Requirements

Imports

  • use the time module's sleep function to simulate thinking about the question or 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")

results matching ""

    No results matching ""