Conditional
== : determining whether the two values are equal
! = : Determining whether the two values are not equal
Comparison operators:>, <,> =, <=
Check multiple conditions: with and and or
Check the specific value is contained: in and not in
The if statement
Determine if statement ends with a colon, a colon where the next line must be indented.
If the judge if passed, it will execute all the indented lines of code later if statement, or they will ignore them.
if-else statement
When the if statement did not pass, you need to perform another operation
Else statement specified operating conditions are not to be executed by
if-elif-else structure
When determining a plurality of statements to be executed, it is necessary to form a judgment elif