subject
Engineering, 18.12.2019 05:31 neelydeY23

#modify the code below: import random smaller = int(input("enter the smaller number: ")) larger = int(input("enter the larger number: ")) mynumber = random. randint(smaller, larger) count = 0 while true: count += 1 usernumber = int(input("enter your guess: ")) if usernumber < mynumber: print("too small") elif usernumber > mynumber: print("too large") else: print("you've got it in", count, "tries! ") break

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Avolume of 2.65 m3 of air in a rigid, insulated container fitted with a paddle wheel is initially at 264 k, 5.6 bar. the air receives 432 kj by work from the paddle wheel. assuming the ideal gas model with cv = 0.71 kj/kg • k, determine for the air the amount of entropy produced, in kj/k
Answers: 2
question
Engineering, 04.07.2019 19:20
Air at a pressure of 1atm and a temperature of 40 c is in parallel flow over the top surface of a flat plate that is heated to a uniform temperature of 120 c. the plate has a length of 0.40m (in the flow direction) and a width of 0.15m. the reynolds number based on the plate length is 50, 000. what is the rate of heat transfer from the plate to the air? if the free stream velocity of the air is doubled and the pressure is increased to 10 atm what is the rate of heat transfer?
Answers: 2
question
Engineering, 05.07.2019 10:10
What is the correct way to measure the overall length of a boat? measure from the tip of the bow to the highest point on the gunwale. measure from the tip of the bow in a straight line to the stern of the boat. measure from the tip of the bow in a straight line to the back seat. measure from port to starboard at the boat's widest point.
Answers: 1
question
Engineering, 06.07.2019 03:20
Aparticle moves along a straight line such that its acceleration is a=(4t^2-2) m/s, where t is in seconds. when t = 0, the particle is located 2 m to the left of the origin, and when t = 2, it is 20 m to the left of the origin. determine the position of the particle when t=4s.
Answers: 1
You know the right answer?
#modify the code below: import random smaller = int(input("enter the smaller number: ")) larger =...
Questions
question
Mathematics, 31.10.2020 22:20
question
Mathematics, 31.10.2020 22:20
question
Biology, 31.10.2020 22:20
question
Mathematics, 31.10.2020 22:20
Questions on the website: 13722360