Computer Science, asked by vinaysingh1429, 1 year ago

Explain “elif statement” with example.

Answers

Answered by sangitasurve305
2

Python if-Elif-Else Statement. The previous two if-else constructs would address at most two outcomes, i.e., True or False. However, the expression next to the “if” statement can also evaluate to a different value other than the boolean. It means to have more conditions, not just a single “else” block

Similar questions