Opening the book…
- 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.
The book could not be loaded just now.