12.9: Glossary

Think Python 2ed. · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

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

    12.9: Glossary
    tuple:
    An immutable sequence of elements.
    tuple assignment:
    An assignment with a sequence on the right side and a tuple of variables on the left. The right side is evaluated and then its elements are assigned to the variables on the left.
    gather:
    An operation that collects multiple arguments into a tuple.
    scatter:
    An operation that makes a sequence behave like multiple arguments.
    zip object:
    The result of calling a built-in function zip; an object that iterates through a sequence of tuples.
    iterator:
    An object that can iterate through a sequence, but which does not provide list operators and methods.
    data structure:
    A collection of related values, often organized in lists, dictionaries, tuples, etc.
    shape error:
    An error caused because a value has the wrong shape; that is, the wrong type or size.

    This page titled 12.9: Glossary was last modified on Sat, 02 Apr 2022 22:01:53 GMT and is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Allen B. Downey (Green Tea Press) via source content that was edited to the style and standards of the LibreTexts platform.