#python #sicp
To execute a sequence of statements, execute the first statement. If that
statement does not redirect control, then proceed to execute the rest of the
sequence of statements, if any remain.
If you want to change selection, open document below and click on "Move attachment"
1.5 ControlFor example, in the case of def statements, we saw that the return
expression is not evaluated immediately, but instead stored for later use when
the defined function is eventually called.
We can also understand multi-line programs now.
<span>To execute a sequence of statements, execute the first statement. If that
statement does not redirect control, then proceed to execute the rest of the
sequence of statements, if any remain.
This definition exposes the essential structure of a recursively defined
sequence: a sequence can be decomposed into its first element and the rest of
its elements. The "rest&quo Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details