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