for num in range(1,6):
    #code inside for loop
    if num == 4:
        continue
    #code inside for loop
    print(num)
#code outside for loop
print("continue statement executed on num = 4")

for num in range(1,6):
    #code inside for loop
    if num == 4:
        continue
    #code inside for loop
    print(num)
#code outside for loop
print("continue statement executed on num = 4")

#code inside for loop #code inside for loop #code outside for loop