Python: Part Nine - Deepstash
Learning Python: ELIF statements

As you can see by the image, we are continuing with "if" statement, but this time it works different. The first "if" statement in this case is false, then thats when we get to the elif, this is another if statement just inside that if statement, if one of the elif's are true then it will stop there, execute the code insde the scope of that if statement then move on the next section of code

When it comes to elif's thet only go after a if statement, and never before there will be a error if that was to happen.

Dont forget to join the discord channel if you need help

https://discord.gg/XZQwPwaS97

2 STASHED

1 LIKE

🚶 On a walk

Deepstash helps you become inspired, wiser and productive, through bite-sized ideas from the best articles, books and videos out there.

GET THE APP: