hi everyone ,

I’m stating to learn new python language . I couldn’t understand below mentioned break and continue statement program … anyone can clearly explain me …thanks in advance …

for n in range(2, 10):

… for x in range(2, n):

… if n % x == 0:

… print(n, ‘equals’, x, ‘*’, n//x)

… break

… else:

… # loop fell through without finding a factor

… print(n, ‘is a prime number’)

…

continue::

for num in range(2, 10):

… if num % 2 == 0:

… print(“Found an even number”, num)

… continue

… print(“Found a number”, num)