Question: I am using PYTHON to type the code. this is the file containing the responses: Yes, of course! Without a doubt, yes. You can count

I am using PYTHON to type the code.

I am using PYTHON to type the code. this is the file

this is the file containing the responses:

Yes, of course!

Without a doubt, yes.

You can count on it.

For sure!

Ask me later.

Im not sure.

I cant tell you right now.

Ill tell you after my nap.

No way!

I dont think so.

Without a doubt, no.

The answer is clearly NO

Problem: Expand on the second problem from Project 3 (Magic 8 ball) by making a GUI to replicate the Magic 8 ball. Your GUI should use the Canvas widget to create an image of the Magic 8 ball similar to that shown below (hint the 8 was created using two ovals). At a minimum your GUI should contain a label to prompt the user to enter the question, an entry to allow the user to type their question, a button that will generate a response, a label in which the message will appear, and a button to quit. You also may add other widgets. The words "message 1" should be replaced with one of the answers given in the file from Project 4. You may create a hardcoded list with the possible answers rather than reading the possible answers from a file, however, the answer should still be randomly printed. You are welcome to play with colors and different widgets, i.e. have some fun! tk Ask question, then click on button Click me for answer message 1 Quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!