Search for tag: "strings"

Wellbeing@Work: Staying Energized in the Workplace

Ari Mack, Organization Development Consultant, offers some tips on how to stay energized in the workplace. Watch the full Interview here:…

From  Gerald Deis 19 plays

Informal Theory Seminar

Zoom Recording ID: 96116630382 UUID: ZYw6T6tSRXiQF/g8W8vKzQ== Meeting Time: 2021-05-27T18:56:25Z

From  Eunah Kim 0 plays

3.22.21 Andrea Lincoln, Massachusetts Institute of Technology

Zoom Recording ID: 92032593202 UUID: jpTMxtV+QRWMCIj9Fd0ogA== Meeting Time: 2021-03-22T19:43:43Z

From  Jordan Staiti 24 plays

Lesson 19.4 Nested Dictionaries

In 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 70 plays

Lesson 19.3 Dictionary Visualization

Since 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 74 plays

Lesson 19.1 Dictionary Expressions

In 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 83 plays

Lesson 17.7 The Division Step

Up 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 96 plays

Lesson 16.5 Positional For-Loops

Sometimes 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 83 plays

Lesson 16.3 Accumulators

One 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 94 plays

Lesson 15.6 List Methods

Lists 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 73 plays

Lesson 15.2 Complex Tuple Expressions

Tuples 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 62 plays

Lesson 15.1 Tuple Expressions

In 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 75 plays

Lesson 13.4 Assert Messages

We 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 60 plays

Lesson 11.8 Object Methods

Objects 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 75 plays

Lesson 10.3 PseudoCode

In 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 97 plays

Zoom Sep. 17. Strings

In 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 51 plays