- ... set1
- Named after M.S. Delaney, who's work
[Del80] inspired the invention of
Delaney symbols.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ... violated.2
- Python's range function produces a list of consecutive
integers. In particular, range(n) produces a list with first
entry
0 and last entry n - 1, while range(m,n) produces one
with first
entry m and last entry n - 1. As in C, the double equal
sign ==
tests for equality, while the single equal sign = is used for
assignment.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
- ...Method]3
- In Python, lists are indexed starting with 0. Negative indices
count
backwards, i.e., stack[-1] is equivalent to stack[len(stack)-1],
which is the last entry of stack. The command
del stack[-1] removes the last entry of stack.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.