I just started python programming, and i'm wondering about the elif keyword. Other programming languages i've used before use else if. Does anyone have an idea why the python developers added …

Assuming the invalid syntax is a typo, the big benefit of elif vs having an else statement with a nested if is indentation. Each time you go into a nested if you'll need to indent again, which will destroy …