I find it's a valid expression: 1 in [1, 2, 3] in [4, 5, 6] 。
a in b in c seems to be equivalent to a in b and b in c 。
it seems useless, and easy to confused with (a in b) in c .
in this program, what I originally want is if a in b and a in c , But it was mistakenly written as a in b in c
I find it's a valid expression:
1 in [1, 2, 3] in [4, 5, 6]
。a in b in c
seems to be equivalent toa in b and b in c
。it seems useless, and easy to confused with
(a in b) in c
. in this program, what I originally want isif a in b and a in c
, But it was mistakenly written asa in b in c
This is too weird , is this a bug ?