[Python] Compare list of arrays with each other and return the differences [closed]

Discussão em 'Python' iniciado por Stack, Abril 19, 2025.

  1. Stack

    Stack Membro Participativo

    I have a list of 24 arrays that I need to compare with each other and return the differences

    Eg-

    Array 1- [A,B,C,D]

    Array 2- [A,B,C,E]

    Array 3- [A,B,C,F]

    Array 4- [A,B,C,G]

    Array 5- [A,B,C,D,E]

    Array 6- [A,B,C,E,F]

    Array 7- [A,B,C,F,G]

    Array 8- [A,B,C,D,F]

    -

    -

    Array 22- [A,B,C,D,E,L,Y,K,I,N]

    Array 23- [A,B,C,D,E,Z,Y,K,I,M]

    Array 24- [A,B,C,D,E,F,G,H,I,J]

    I want

    Array 1 to compare against each of below arrays up to Array 24 excluding itself and return the differences

    Array 2 to compare Array 1 up to Array 24 excluding itself and return the differences

    Array 3 to compare Array 1 and Array 2 up to Array 24 excluding itself and return the differences

    and so on and return the differences

    Continue reading...

Compartilhe esta Página