+ 1

Comparing items in a list

Let's say I have a list with a certain amount of items in it. How do I take the first item and compare it with every other item in the list except with itself, plus if a condition it True remove the compared item and move on. How do I do that with every item in the list? I always get an out of range error.

1st Feb 2018, 9:26 AM
David Handl
David Handl - avatar
4 Antworten
1st Feb 2018, 11:10 AM
voja
voja - avatar
1st Feb 2018, 11:30 AM
Strange
Strange - avatar
+ 2
Thanks guys, it helped me solve the problem
2nd Feb 2018, 11:44 AM
David Handl
David Handl - avatar
+ 1
that's good to know @David Handi
2nd Feb 2018, 12:15 PM
Strange
Strange - avatar