Feb-28-2018, 09:34 PM
Hi, I'm having trouble with this : I have a txt files with combinaison of two number. Like this :
0 2
0 3
1 0
1 4
1 6
1 7
1 9
2 3
2 6
2 9
...
And i need to put them in a list of lists like this : [[1,2,3],[0,4,6,7,9],[0,3,6,9]...] In the list[0] you find all the number that share 0 as number on their line etc.
0 2
0 3
1 0
1 4
1 6
1 7
1 9
2 3
2 6
2 9
...
And i need to put them in a list of lists like this : [[1,2,3],[0,4,6,7,9],[0,3,6,9]...] In the list[0] you find all the number that share 0 as number on their line etc.