Help me in solving PYTH97 problem

My issue

why its 1 2 3 where a is equal to 4?

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

cozz when b will become 4 it will not enter the loop , bcozz it will not satisfy the condition a!=b.

1 Like