|
First Summer 2006 |
We also discuss the basics of while and for loops.
A basic definition of a function (method, procedure, subroutine) will also be provided.
In the end Problem Three on Homework Three will be discussed.
More than one solution to it is possible, some using the new tools.
Here's the start of our discussion on sequences:
After strings and tuples we discuss lists.
Lists are more flexible.
Nested structures are possible but also more complex.
Lists have useful methods.
The meaning of the methods must be clear, to avoid surprises.