subject
Engineering, 19.12.2019 07:31 tdahna0403

Make sure the file guessnumber. py is selected and open. write loops that validate input at all places in the code where the user is asked to provide input. comments have been included in the code to you identify where these loops should be written. execute the program. see if you can guess the randomly generated number. execute the program several times to see if the random number changes. also, test the program to verify that incorrect input is handled correctly. on your best attempt, how many guesses did you have to take to guess the correct number

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of 1.5 kg of air at 120 kpa and 24°c is contained in a gas-tight, frictionless piston-cylinder device. the air is now compressed to a final pressure of 720 kpa. during the process, heat is transferred from the air such that the temperature inside the cylinder remains constant. calculate the boundary work input during this process.
Answers: 2
question
Engineering, 03.07.2019 15:10
Two flowing streams of argon gas are adiabatically mixed to form a single flow/stream. one stream is 1.5 kg/s at 400 kpa and 200 c while the second stream is 2kg/s at 500 kpa and 100 ? . it is stated that the exit state of the mixed single flow of argon gas is 150 c and 300 kpa. assuming there is no work output or input during the mixing process, does this process violate either the first or the second law or both? explain and state all your assumptions.
Answers: 1
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afour cylinder four-stroke in-line engine has a stroke of 160mm, connecting rod length of 150mm, a reciprocating mass of 3kg and its firing order is 1-3-4-2. the spacing between cylinders is 100mm. i. show that the engine is in balance with regard to the primary inertia forces and primary 3. a and secondary inertia couples. li determine the out of balance secondary inertia force ii. propose ways of balancing this out of balance force and discuss the challenges that will arise
Answers: 3
You know the right answer?
Make sure the file guessnumber. py is selected and open. write loops that validate input at all plac...
Questions
question
Mathematics, 13.02.2021 02:40
question
Mathematics, 13.02.2021 02:40
question
Mathematics, 13.02.2021 02:40
question
Mathematics, 13.02.2021 02:40
question
Spanish, 13.02.2021 02:40
question
Mathematics, 13.02.2021 02:40
question
Mathematics, 13.02.2021 02:40
Questions on the website: 13722367