This is my code, kindly chceck it.
What is the problem with my code?
Can you tell me what i and idx are?
Do you realize that it is any subset and not just a set with 2 elements.
So for example, for numbers = {1, 2, 3, -6}
answer is βYesβ.
Ok I understand. My bad
1 Like
I did it. Thanks for helping out !
1 Like
Great!!
It was all your effort, I just pointed out the obvious mistake.