+ 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.
4 Answers
+ 2
My solution š
https://code.sololearn.com/cRxYsLmYfDM7/?ref=app
+ 2
check that out
https://code.sololearn.com/cnBlN0u11PnI/?ref=app
+ 2
Thanks guys, it helped me solve the problem
+ 1
that's good to know @David Handi