filmov
tv
Python 3 basics: if else condition
![preview_player](https://i.ytimg.com/vi/uhdDAZ3BvH8/sddefault.jpg)
Показать описание
If-else condition is one of the most important parts of python. With this, you can run tests on the value provided to you. In this lecture, we are building a simple voting eligibility detection script.
In the if-else condition, we can provide two different approaches depending upon the values at the time of condition execution. If the condition in the 'if' is True we are going to execute the below code block, but if the condition is False then we are going to execute the else code block.
We'll dive deep in our upcoming lectures and we'll be using if-else in most of our programs.
Here are some useful links :
In the if-else condition, we can provide two different approaches depending upon the values at the time of condition execution. If the condition in the 'if' is True we are going to execute the below code block, but if the condition is False then we are going to execute the else code block.
We'll dive deep in our upcoming lectures and we'll be using if-else in most of our programs.
Here are some useful links :