Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Engineering LibreTexts

8.12: Glossary

( \newcommand{\kernel}{\mathrm{null}\,}\)

object:
Something a variable can refer to. For now, you can use “object” and “value” interchangeably.
sequence:
An ordered collection of values where each value is identified by an integer index.
item:
One of the values in a sequence.
index:
An integer value used to select an item in a sequence, such as a character in a string. In Python indices start from 0.
slice:
A part of a string specified by a range of indices.
empty string:
A string with no characters and length 0, represented by two quotation marks.
immutable:
The property of a sequence whose items cannot be changed.
traverse:
To iterate through the items in a sequence, performing a similar operation on each.
search:
A pattern of traversal that stops when it finds what it is looking for.
counter:
A variable used to count something, usually initialized to zero and then incremented.
invocation:
A statement that calls a method.
optional argument:
A function or method argument that is not required.

This page titled 8.12: Glossary 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.

Support Center

How can we help?