question in when & with_nested loops

when item[0] in item[1]
with_nested:

  • [1,2]
  • [1,3]

will make all loop,just like:(1 in 1)? and then also do (1 in 3)?..,but how to let it not do the (1 in 3)?

i'm not sure, but I think you want:

when: item[0] == item[1]