# flow.py # Walker M. White (wmw2) # October 30, 2015 """Module that shows off flow in a while loop""" def flow(limit): """Trace a while loop that runs limit times Parameter limit: the number of times to loop 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'