Answer:
The second one.
Explanation:
An `else` statement is like the alternative route for the code. I like to put it in my own words like, "If the user puts a number insted of a letter tell them they did a good job! Else(Otherwise) Tell them they need to try again.
I hope I helped!
Answer:
b) the if statement is false
Explanation:
The else statement is performed if the if statement's condition is not fulfilled. An else statement executes if an if statement is false. The else statement gives the code a backup if the if statement fails. If the if statement fails, this might propose a different course of action.
An if statement may test whether an integer is even or odd by dividing it by two. This tells the computer whether the number is even or odd. If the input number is divisible by 2, the software will print "the number is even" if it is the computer that determines whether the number is even or odd. If the input number is divisible by 2, the software will print "the number is even" if it is. The else statement may show that the "number is odd" if the integer cannot be divided by two.
In a particular spreadsheet, the data in each cell is password protected. When cells are selected, the formula is visible
in the formula bar. Which is true?
O The cells are locked and hidden.
The cells are locked and unhidden.
The cells are unlocked and hidden.
O The cells are unlocked and unhidden.
Answer:
Explanation:
Locked and hidden
How many comparisons will be done to find 8 in this list using a linear search?
2, 4, 6, 8, 10, 12
Answer:
I think 4 comparisons
RIGHT ANSWER GETS BRAINLEST
Complete the code.
You are writing a loop to allow the user to enter data until they enter a "Q". You want to allow them to enter an upper- or lowercase "Q".
if yourTeam.
() == "q":
break
The options they give are:
Upper
Compare
lower
Answer:
sir i beleive lower is your answer, i know it isnt upper.
Explanation:
:D
Answer:
lower
Explanation:
i just did the quiz and got it right :)