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:…

+19 More
From  Gerald Deis 20 plays

Informal Theory Seminar

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

+19 More
From  Eunah Kim 3 plays

3.22.21 Andrea Lincoln, Massachusetts Institute of Technology

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

+19 More
From  Jordan Staiti 26 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…

+19 More
From  Hannah Lee 76 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…

+19 More
From  Hannah Lee 82 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.

+19 More
From  Hannah Lee 92 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…

+19 More
From  Hannah Lee 102 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…

+19 More
From  Hannah Lee 90 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.

+19 More
From  Hannah Lee 99 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…

+19 More
From  Hannah Lee 78 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.

+19 More
From  Hannah Lee 72 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.

+19 More
From  Hannah Lee 83 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.

+19 More
From  Hannah Lee 69 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.

+19 More
From  Hannah Lee 84 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.

+19 More
From  Hannah Lee 106 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…

+19 More
From  Hannah Lee 56 plays