Help me in solving PYTH97 problem

My issue

Explain the approach

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

while(a!=b)
the loop will run until a==b as while condition.