<filename>my-loop-ex1.py
#!/usr/bin/env python

b_list = range(1, 50)

for i in b_list:
  if i == 13:
     continue
  print i
  if i == 39:
     break



<filename>my-loop-ex1.py
#!/usr/bin/env python

b_list = range(1, 50)

for i in b_list:
  if i == 13:
     continue
  print i
  if i == 39:
     break



#!/usr/bin/env python