In which programming language "Else if" is written as "elif" ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In which programming language "Else if" is written as "elif" ?

14th Feb 2019, 9:11 AM
Shivam Dubey
Shivam Dubey - avatar
3 Answers
+ 4
In Python, and probably more that I am not aware of. Here is the lesson (go to the third slide): https://www.sololearn.com/learn/Python/2278/
14th Feb 2019, 9:14 AM
Rowsej
Rowsej - avatar
+ 4
Python and Bash scripting, Instead of “else if” they use “elif” for short, both mean the same thing. i’d recommend using a tutorial. For the links: https://www.sololearn.com/learn/Python (Sololearn doesnt have a bach course)
15th Feb 2019, 2:04 AM
Potato Hacker
Potato Hacker - avatar
+ 2
Bash scripting uses that syntax too.
14th Feb 2019, 9:43 AM
Lambda_Driver
Lambda_Driver - avatar