June 2018
Intermediate to advanced
294 pages
7h 5m
English
|
Operator |
Description |
Example |
|---|---|---|
|
in |
Evaluates to true if it is a variable in the specified sequence |
if 'tcp' in results: |
|
not in |
Evaluates to false if it is a variable in the specified sequence |
if not 'http' in results: |
|
is |
Evaluates to true if the variables on either side of the operator are equal |
if results is None: |
|
is not |
Evaluates to true if the variables on either side of the operator are not equal |
if results is not None: |