pylint-errors

R1716 (chained-comparison)

:x: Problematic code:

a = int(input())
b = int(input())
c = int(input())
if a < b and b < c:
    pass

:heavy_check_mark: Correct code:

a = int(input())
b = int(input())
c = int(input())
if a < b < c:
    pass

Rationale:

This message is emitted when pylint encounters boolean operation like a < b and b < c, suggesting instead to refactor it to a < b < c.