Computers and Technology

You used this code to glve the user hints. else:
if guess print("Guess higher.")
else:
print("Guess lower.")

Complete the code below, which is an alternative way to give the user the same hints.

if guess = correct:
# Tell the user the guess was correct.
print("You were correct!")
keepGoing = False
_
print("Guess higher.")

_
print("Guess lower.")


You used this code to glve the user hints.

else:
if guess
print(Guess higher.)
else:
print(Gue

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 22:00, richellemjordan
Draw the hierarchy chart and design the logic for a program that calculates service charges for hazel's housecleaning service. the program contains housekeeping, detail loop, and end-of-job modules. the main program declares any needed global variables and constants and calls the other modules. the housekeeping module displays a prompt for and accepts a customer's last name. while the user does not enter for the name, the detail loop accepts the number of bathrooms and the number of other rooms to be cleaned. the service charge is computed as $40 plus $15 for each bathroom and $10 for each of the other rooms. the detail loop also displays the service charge and then prompts the user for the next customer's name. the end-of-job module, which executes after the user enters the sentinel value for the name, displays a message that indicates the program is complete.
Answers: 2
image
Computers and Technology, 23.06.2019 00:30, lm18618
Which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 2
image
Computers and Technology, 23.06.2019 07:50, madim1275
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
image
Computers and Technology, 24.06.2019 03:30, laylay120
Other - a written response, no less than arial 12-point font, to the following: of the following, which would you consider is most important to customer service goals? choose one and explain why. (1) accuracy (2) punctuality and attendance (3) courtesy (4) productivity (5) organization
Answers: 1
Do you know the correct answer?
You used this code to glve the user hints. else:
if guess print("Guess higher.")
else:...

Questions in other subjects:

Konu
Mathematics, 14.12.2020 17:00
Konu
Mathematics, 14.12.2020 17:00