Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Activity 3: Challenge : Write a program to mimic a Magic 8 Ball. Allow a user to input a yes or no question, and your

image text in transcribed

Activity 3: Challenge : Write a program to mimic a Magic 8 Ball. Allow a user to input a yes or no question, and your program should randomly output one of at least 6 possible answers. The function should repeat and prompt the user to continue asking more questions. Include a screenshot with responses to at least two questions. Hint: set the possible answers as string values in an array and randomly select a value. (example: ans = ["possible answer 1 ", "possible answer 2", "etc..."]). Hint: import random

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases On The Web Designing And Programming For Network Access

Authors: Patricia Ju

1st Edition

1558515100, 978-1558515109

More Books

Students also viewed these Databases questions