from array import *

# for else loop
# else block is executed when there is no break statement executed

num = 3
for i in range(2, num):
    if num%i==0:
        print("Not Prime")
        break

else:
    print("Prime")

f13b0830740f03a10beff173c0fb0b37f6b87da4
<mask token>

<mask token>
for i in range(2, num):
    if num % i == 0:
        print('Not Prime')
        break
else:
    print('Prime')

<mask token>
num = 3
for i in range(2, num):
    if num % i == 0:
        print('Not Prime')
        break
else:
    print('Prime')

from array import *
num = 3
for i in range(2, num):
    if num % i == 0:
        print('Not Prime')
        break
else:
    print('Prime')

from array import *

# for else loop
# else block is executed when there is no break statement executed

num = 3
for i in range(2, num):
    if num%i==0:
        print("Not Prime")
        break

else:
    print("Prime")
