for i in range(3):
    for j in range(3):
        if i == j:
            continue
        if i + j == 3:
            break
        print(f"i={i}, j={j}")