a = [0, 1, 2, 3, 4, 5]
for x in a:
    if x== 3:
        #break
        continue
    print(x)
    

print('------------------------')
   
i = 0
while i < 5:
    if i == 4:
        #break
        continue        
    print(i)
    i += 1
    
