Can anyone tell me what is wrong in my python code?

my code:
and can you please provide an example in which my code is giving wrong answer


please reply i really dont get what is wrong in my code

I will explain in short. If there are 2 integer greater than 1 then ans is no because it will never 2,3 will also need 6 if added then it will need 12 18 and so on,it is never possible to make such series.also n=1 ans is no because i!=j(not sure) ,ans is yes only if if u select integers from set={0,1,x} x>1.

1 Like