Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I really need help with this pseudo code. thanks in advance!! import the library random define a funtion that has no arguments and it will

I really need help with this pseudo code. thanks in advance!!
image text in transcribed
import the library random define a funtion that has no arguments and it will pick the randon numbers for 100 p that will run 5 times: Yield a random number between 1 and 69 while loop Set up a counter to Create an empty list Print statements to show the menu Get input for the user to see if the user wants to play or exit the progran If the user wants to play (if statement) Be*t You can do lines 19-28 with a for loop or manually as shown below Append the first guess to the 1 ist Get input from the user about his second guess (remember to change it to an integer) Append the second guess to the 1 ist Get input froe the user about his thind guess (remember to change it to an integer) Append the third guess to the list Get input from the user about his fourth guess (remember to change it to an integer) Append the fourth guess to the 1 ist Get input froe the user about his fifth guess (reaember to change it to an integer) Append the fifth guess to the list for loop calling the funtion if statement to see if that variable (aka the chosen Print statesent saying -there is a natch with numb add one to the counter me set up at the beginning Print stateaent that says hou se user dos not to ploy) exit the code

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

2. What should an employer do when facing an OSHA inspection?

Answered: 1 week ago