Computer Science, asked by ritikagupta5176, 1 year ago

What is the python reserved word that we use in two-way if tests to indicate the block of code that is to be executed if the logical test is false?

Answers

Answered by muskansingh43
14

Answer:

Sry I didn't know the answer to

Answered by krishnaanandsynergy
2

else is the python reserved word that we use in two-way if tests to indicate the block of code that is to be executed if the logical test is false.

Explanation:

  • In conditional statements (if statements), the else keyword determines what to do if the condition is False.
  • Except for blocks, the else keyword in Python is used in conditional statements like if statements, and it determines what to do if all of the conditions are False.
  • Loops are used with the other keyword. You can use the else keyword in a loop in addition to using it with conditional if expressions.
Similar questions