Search for tag: "tuples"
Zoom Oct. 13. Lists (and Sequences)In this session we review the two new sequence data types: tuples, and lists. This is the last material on the first prelim.For the most part these are similar to strings, and so we will do a lot of…
From Hannah Lee
18 plays
|
|
Lesson 15.7 Mutable List FunctionsBecause lists are mutable, just like general objects, we can modify them in the body of a function. In this video we show how to write mutable list functions, which are (typically) procedures that…
From Hannah Lee
75 plays
|
|
Lesson 15.6 List MethodsLists have many of the same methods as tuples. But since they are mutable, they have even more. In this video we show off some of the mutable methods of lists, which are methods that can alter the…
From Hannah Lee
78 plays
|
|
Lesson 15.2 Complex Tuple ExpressionsTuples are very, very similar to strings. In this video we explore this similarity, showing that they support many of the same operations and methods.
From Hannah Lee
72 plays
|
|
Lesson 15.1 Tuple ExpressionsIn this video we introduce the first new sliceable type, the tuple. We show why we need this new type, and why it is more flexible than a string.
From Hannah Lee
83 plays
|