# flow.py # Walker M. White (wmw2) # October 30, 2012 """Module that shows off flow in a while loop""" def flow(limit): """Trace a while loop that runs limit times Precondition: limit an int""" print 'Before while' count = 0 i = 0 while i < limit: print 'Start loop '+str(i) count = count + i i = i + 1 print 'End loop ' print 'After while'