question 20\n4 pts\ngiven the following code, the else branch is taken for which range of x?\nif x >= 15:\n…

question 20\n4 pts\ngiven the following code, the else branch is taken for which range of x?\nif x >= 15:\n # do something\nelse:\n # do something else\nx <= 15\nx < 15\nx >= 15

question 20\n4 pts\ngiven the following code, the else branch is taken for which range of x?\nif x >= 15:\n # do something\nelse:\n # do something else\nx <= 15\nx < 15\nx >= 15

Answer

Answer:

B. $x < 15$

Explanation:

Step1: Analyze if - condition

The if condition is x >= 15.

Step2: Determine else - condition

The else branch is taken when the if condition is false. The opposite of x >= 15 is x < 15.