educative.io

Solution#1: Brute Force (code phrase "and i is not j")

Hello,

Could you please suggest why we need the below code snippet in the if condition (line#9)?

“and i is not j”

Hi Sai Prasad Devarakonda
Can you please specify the lesson so that I can clear your ambiguity.

Thank you!