#python #sicp
there are many kinds of sequences, but they all share common behavior.
In particular,
Length. A sequence has a finite length. An empty sequence has length 0.
Element selection. A sequence has an element corresponding to any
non-negative integer index less than its length, starting at 0 for the first
element.
If you want to change selection, open document below and click on "Move attachment"
2.3 Sequencesful,
fundamental abstraction in computer science. Sequences are not instances of a
particular built-in type or abstract data representation, but instead a
collection of behaviors that are shared among several different types of data.
That is, <span>there are many kinds of sequences, but they all share common behavior.
In particular,
Length. A sequence has a finite length. An empty sequence has length 0.
Element selection. A sequence has an element corresponding to any
non-negative integer index less than its length, starting at 0 for the first
element.
Python includes several native data types that are sequences, the most
important of which is the list .
2.3.1 Lists
A list value is a sequence that can have arbitrary lengt Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details