Conditionals | Notion
Conditionals
Conditional Expression or The Ternary Operator
if, elif and else
Truth Values
Boolean Logic Expressions
Using the cmp function to get the comparison result of two objects
0Else statement
If statement
Testing if an object is None and assigning it
Conditional Expression Evaluation Using List Comprehensions