filmov
tv
#9 Learn to use Python if, elif, else and nested statements

Показать описание
If you are already familiar with programming, probably you already heard about If statement which is one of the most basic forms of logic that can be introduced. The idea of the if statement is to assess whether something is the case, and, if it is, then to perform the following block of code within the statement.
The if statement contains a logical expression using which data is compared and a decision is made based on the result of the comparison.
The if statement contains a logical expression using which data is compared and a decision is made based on the result of the comparison.