How to working the continue statement in while loop in Python?