filmov
tv
Python Tutorial for Beginners 9 - Python IF ELSE Statements
![preview_player](https://i.ytimg.com/vi/-nJvt_7l-sk/sddefault.jpg)
Показать описание
In this Video I am going to show How to use IF ELSE conditional statements in python. The if statement evaluates a Boolean condition, and if it is True, performs the indented statements(or a block or code); but if the test is False, it does nothing. The if statement can have an optional else part which will be performed if the test result is False.
If you if condition expression contains logical operators then,
In (A and B), if A is false, then so is the expression, and there is no need to evaluate B
In (A or B), if A is true, then so is the expression, and there is no need to evaluate B
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
python 3 if else statement
python if elif
finally python
Python IF...ELIF...ELSE Statements
If you if condition expression contains logical operators then,
In (A and B), if A is false, then so is the expression, and there is no need to evaluate B
In (A or B), if A is true, then so is the expression, and there is no need to evaluate B
★★★Top Online Courses From ProgrammingKnowledge ★★★
★★★ Online Courses to learn ★★★
★★★ Follow ★★★
DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
python 3 if else statement
python if elif
finally python
Python IF...ELIF...ELSE Statements
Комментарии