#python #sicp
A range is another built-in type of sequence in Python, which
represents a range of integers.
If you want to change selection, open document below and click on "Move attachment"
2.3 Sequencescount
2
This pattern of binding multiple names to multiple values in a fixed-length
sequence is called sequence unpacking; it is the same pattern that we see in
assignment statements that bind multiple names to multiple values.
Ranges. <span>A range is another built-in type of sequence in Python, which
represents a range of integers. Ranges are created with range , which takes
two integer arguments: the first number and one beyond the last number in the
desired range.
>>> range(1, 10) # Includes 1, but Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details