Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



Tags
#python #sicp
Question
What does a list literal evaluate to?
Answer
evaluates to a list instance, as well as an element selection expression that evaluates to a value in the list.

Tags
#python #sicp
Question
What does a list literal evaluate to?
Answer
?

Tags
#python #sicp
Question
What does a list literal evaluate to?
Answer
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 original toplevel document below and click on "Move attachment"

Parent (intermediate) annotation

Open it
which evaluates to a list instance, as well as an element selection expression that evaluates to a value in the list.

Original toplevel document

2.3 Sequences
which 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] >>&gt

Summary

statusnot learnedmeasured difficulty37% [default]last interval [days]               
repetition number in this series0memorised on               scheduled repetition               
scheduled repetition interval               last repetition or drill

Details

No repetitions


Discussion

Do you want to join discussion? Click here to log in or create user.