A

Admin • 802.91K Points
Coach

Q. What is the purpose of ‘else’ statement in if-elif ladder?

  • (A) else statement in if-elif will execute, if none of the condition is True
  • (B) else statement in if-elif will execute, if all the condition is True.
  • (C) else statement in if-elif will execute, if the condition just above else statement is True
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.