You used this code to give the user hints.
else:
if guess
print("Guess higher.")
...
Computers and Technology, 21.04.2021 14:00 kayliehernandez
You used this code to give 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.")
•Else
•Elif guess > correct
•Elif guess < correct
Answers: 1
Computers and Technology, 21.06.2019 18:00
What is stored in str after the following code executes? string str = "computer science"; int i = 0; while (i < 8) { if (str.indexof("m") < i) { str = str.substring(0, 2) + str; } i += 2; } computer science cocomputer science cococomputer science cocococomputer science computer scienceco
Answers: 3
Computers and Technology, 22.06.2019 05:00
Modern businesses use different technologies to accomplish work tasks
Answers: 2
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
Computers and Technology, 23.06.2019 17:30
Per the municipal solid waste report, what are the most common sources of waste (trash
Answers: 3
Mathematics, 05.02.2021 22:10
Mathematics, 05.02.2021 22:10
English, 05.02.2021 22:10
Mathematics, 05.02.2021 22:10
Mathematics, 05.02.2021 22:10
Biology, 05.02.2021 22:10
Mathematics, 05.02.2021 22:10
Mathematics, 05.02.2021 22:10