Question Detail
Question
What is the primary function of the
else clause in an if-else statement?
Correct Answer
Option B is the correct answer.
Detailed Explanation
Page 8, 'The 'Else' Clause (The Backup)', states: 'What if the condition is False? We can provide a backup plan using else.'
Hint
Consider what happens when the initial 'if' condition is NOT met.