<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"""
A module that shows off flow in a while loop

Author: Walker M. White (wmw2)
Date:   November 1, 2017 (Python 3 Version)
"""


def flow(limit):
    """
    Traces 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 &lt; limit:
        print('Start loop '+str(i))
        count = count + i
        #i = i + 1
        print('End loop ')
    print('After while')
</pre></body></html>