17 lines
237 B
Plaintext
17 lines
237 B
Plaintext
The forms ``++<>++`` and ``++!=++`` are equivalent. But in Python 2.7.3 the ``++<>++`` form is considered obsolete.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
----
|
|
return a <> b # Noncompliant
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
return a != b
|
|
----
|
|
|