Search for tag: "strings"
Wellbeing@Work: Staying Energized in the WorkplaceAri Mack, Organization Development Consultant, offers some tips on how to stay energized in the workplace. Watch the full Interview here:…
From Gerald Deis
20 plays
|
|
Informal Theory SeminarZoom Recording ID: 96116630382 UUID: ZYw6T6tSRXiQF/g8W8vKzQ== Meeting Time: 2021-05-27T18:56:25Z
From Eunah Kim
3 plays
|
|
3.22.21 Andrea Lincoln, Massachusetts Institute of TechnologyZoom Recording ID: 92032593202 UUID: jpTMxtV+QRWMCIj9Fd0ogA== Meeting Time: 2021-03-22T19:43:43Z
From Jordan Staiti
26 plays
|
|
Lesson 19.4 Nested DictionariesIn this video we show that we can nest dictionaries just like we nested lists. In fact, a lot of real world data is represented this way. We show off a particularly complicated JSON file that…
From Hannah Lee
76 plays
|
|
Lesson 19.3 Dictionary VisualizationSince dictionaries are mutable, we must represent them with folders. In this video we show what these folders must look like. In doing so, we see that they look suspiciously similar to other folders…
From Hannah Lee
82 plays
|
|
Lesson 19.1 Dictionary ExpressionsIn this video, we introduce a dictionary as a collection of key-value pairs. We also show how to write a dictionary expression in Python. It looks just like a JSON string, but without the quotes.
From Hannah Lee
92 plays
|
|
Lesson 17.7 The Division StepUp until now, we have claimed that it does not matter how you divide your date in divide-and-conquer. In this video we show one of the ways in which it might matter. In particular, not thinking about…
From Hannah Lee
102 plays
|
|
Lesson 16.5 Positional For-LoopsSometimes we need to perform a calculation on a string, list, or tuple, but we do not want to loop over this value. Instead, we want to loop over the positions of the value. In this video we show why…
From Hannah Lee
90 plays
|
|
Lesson 16.3 AccumulatorsOne of the techniques that we say in the previous video was the accumulator variable. In this video we show that this is a general technique used in a fruitful function that requires a for-loop.
From Hannah Lee
99 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
|
|
Lesson 13.4 Assert MessagesWe now know how to do assert statements to create errors. But the error messages are a little cryptic. In this video we talk about how we can do a better job.
From Hannah Lee
69 plays
|
|
Lesson 11.8 Object MethodsObjects have an interesting feature that we saw before we strings: they have methods in addition to functions. In this video we talk about those methods, and how they differ from string methods.
From Hannah Lee
84 plays
|
|
Lesson 10.3 PseudoCodeIn this video we introduce pseudocode, which is a step-by-step English description of what we want to do. The goal is provide an outline that we convert into Python later.
From Hannah Lee
106 plays
|
|
Zoom Sep. 17. StringsIn this class we review how to process text in Python. These techniques we are reinforcing will be used in the first assignment.As part of today’s class, we have provided some additional demo…
From Hannah Lee
56 plays
|