Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started