#python #sicp
which evaluates to a list instance, as well as an element selection expression that evaluates to a value
in the list.
If you want to change selection, open document below and click on "Move attachment"
2.3 Sequenceswhich is the list .
2.3.1 Lists
A list value is a sequence that can have arbitrary length. Lists have a
large set of built-in behaviors, along with specific syntax to express those
behaviors. We have already seen the list literal, <span>which evaluates to a list
instance, as well as an element selection expression that evaluates to a value
in the list. The built-in len function returns the length of a sequence.
Below, digits is a list with four elements. The element at index 3 is 8.
>>> digits = [1, 8, 2, 8]
>>> Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details