Explain “elif statement” with example.
Answers
Answered by
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
Science,
7 months ago
Sociology,
7 months ago
Computer Science,
7 months ago
Computer Science,
1 year ago
English,
1 year ago