1alphabet = ['a' , 'b' , 'c' , 'd' ]
2for letter in alphabet:
3 if letter == 'b' :
4 continue
5 #continues to next iteration
6 print( letter )
7for letter in alphabet:
8 if letter == 'b' :
9 break
10 #terminates current loop
11 print( letter )
12for letter in alphabet:
13 if letter == 'b' :
14 pass
15 #does nothing
16 print( letter )
1def function():
2 return # breaks out of a function
3 print('This does not happen')