While loops a, b = 0, 1 while b < 10: print b a, b = b, a+b 1 1 2 3 5 8 loops can have continue and break statements else clause can apply to loops!