0

Merge

Check_list=[ [0.002,0.003], [0.004,0.080], [1.234,0.678], .............] Guys I have such a list, I need to combine all lists that are inside having either one of their elements same Eg [0.002,0.005] ,[0.002,0.067] Will be merged to [0.002,0.005,0.002,0.067] Inside the check_list Can someone help me with an algorithm that does this, or an idea of how to do it. I've tried many ways but am obtaining errors.

7th Sep 2020, 9:12 AM
Vincent Kimanthi
Vincent Kimanthi - avatar
1 Réponse
0
Add your try..
7th Sep 2020, 9:33 AM
Jayakrishna 🇮🇳