Operadores de associação Python
Operadores de associação Python
Os operadores de associação são usados para testar se uma sequência é apresentada em um objeto:
Operator | Description | Example | Try it |
---|---|---|---|
in | Returns True if a sequence with the specified value is present in the object | x in y | |
not in | Returns True if a sequence with the specified value is not present in the object | x not in y |