I have two integer value cnt_1
and cnt_2
, and I write the following statements:
if cnt_1 < 0 and cnt_2 >= 0:
# some code
This statement gets underlined, and the tooltip tells me that I must:
simplify chained comparison
As far as I can tell, that comparison is about as simple as they come. What have I missed here?
The question is a little different from link, there are different variables in comparison.