#Break

Tags: 1 post

June 28, 2019 2 min read

Break, Continue and Pass in Python

Continue vs Break Continue print("The loop will skip the value when value of i is 2 and restart from next value of i - ") for i in range(0,4): if i == 2: continue else: print(i+100) Output: The loop will skip the value when value of i is 2 …