5.G: Iterations (Glossary)

Python for Everybody · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY-NC-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    5.G: Iterations (Glossary)
    accumulator
    A variable used in a loop to add up or accumulate a result.
    counter
    A variable used in a loop to count the number of times something happened. We initialize a counter to zero and then increment the counter each time we want to "count" something.
    decrement
    An update that decreases the value of a variable.
    initialize
    An assignment that gives an initial value to a variable that will be updated.
    increment
    An update that increases the value of a variable (often by one).
    infinite loop
    A loop in which the terminating condition is never satisfied or for which there is no terminating condition.
    iteration
    Repeated execution of a set of statements using either a function that calls itself or a loop.

    This page titled 5.G: Iterations (Glossary) was last modified on Sun, 17 Dec 2017 18:58:47 GMT and is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Chuck Severance via source content that was edited to the style and standards of the LibreTexts platform.