python program for break and continue