if <var>:
Similarly, with the conditional module we can check a variable containing a value by dragging it into the conditional blank:sample_list
contains a value, the conditional will return true. not
keyword can be used to check for the emptiness of a list or dictionary. sample_list
does not contain any values, our conditional expression will evaluate as true. True
only when both conditions are True
.True
when at least one of your conditions are True
.True
.False
, but the logic expression in the current Else-If branch evaluates to True
.False
.