Loops, Methods and Lists
Loops, Methods and Lists: Loops and Methods, Five Ways, Arrays and Lists.
Updated
- Loops and Methods, Five Ways (Novice): A quick review of the loops and methods this course uses, in all five languages, with a snack stand as the example: a for loop, a while loop, a for-each loop, and a method that takes values and returns one.
- Arrays and Lists (Novice): A review of the two ways each language keeps items in a row: a fixed-size array and a list that grows, reading and changing an item by its index, and when to use each.