[Python] Matching word from two separate lists

Discussão em 'Python' iniciado por Stack, Fevereiro 9, 2025.

  1. Stack

    Stack Membro Participativo

    I have two lists that need to matched:

    List 1: Apples, Bananas, Orange, Grapes

    List 2: Bananas, Pears, Kiwi, Grapes


    I would like to find the matching words, but I don't even know where to start. I thought creating dictionaries would be a good way. However, I can't split it since it is a list. It would be really helpful if someone pointed me in the right direction.

    Continue reading...

Compartilhe esta Página