codeGK
Code it ALL
ElIf in Python - CodeGK

♦ ElIf in Python

♣ Example2: ElIf in Python

elif keyword is python's way of saying "if the previous conditions were not true, then try current given condition" and execute the respective code block.
Example
Input:
Output:
If_elif_else