re: The `else if` Keyword Doesn’t Exist in Java VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

I was just wondering to myself why python would have a separate elif keyword. But of course it makes sense because of whitespace having meaning in python.
Thanks!

 

Quote from python documentation to back me up on this:

The keyword ‘elif’ is short for ‘else if’, and is useful to avoid excessive indentation.

code of conduct - report abuse