Question: Could someone help me convert this python code to pseudocode and possibly a flowchart? The assignment was to create a 'magic eight ball'. The assignment

Could someone help me convert this python code to pseudocode and possibly a flowchart? The assignment was to create a 'magic eight ball'. The assignment was based on 'arrays' and I'm not confident on the creation of pseudocode for this. Below is the Python code.

import random import time choices=[ "Not Likely", "Of course!", "Keep Dreaming", "Why Not?", "Don't count on it", "A million times yes!", "Caleb say's yes!", "Caleb say's never!",] while True: input("Ask the mighty 8-Ball a question Oo")

print(random.choice(choices))

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!