Search for tag: "multiplication"

11.3.20 Jesse Goodman, PhD at Cornell University

Zoom Recording ID: 97470844866 UUID: f1VhPhybRwaIZHAbdQQZdg== Meeting Time: 2020-11-30T21:01:09Z

From  Jordan Staiti on November 30th, 2020 6 plays

Zoom Nov. 10. Operators and Abstraction

in this presentation we review the Python data model, showing off the various operators we can define in Python. This is an area where Python is much more advanced than older object-oriented…

From  Hannah Lee on November 12th, 2020 5 plays

Lesson 24.1 Strict Typing

Whenever we have enforced preconditions, we have always used the type function. In this video we show why that is a problem, particularly when we want to use an object argument that is a subclass of…

From  Hannah Lee on November 12th, 2020 30 plays

Lesson 23.5 Mixed-Type Operators

Operator overloading allows us to redefine the meaning of + or * on objects of our class. But sometimes we want to mix together types like a fraction and integer. In this video we show that it is…

From  Hannah Lee on November 8th, 2020 42 plays

Lesson 23.3 Object Equality

Previously when we compared objects, we compared them attribute-by-attribute. That is because the meaning of == on objects is less clear. As we show in this video, that is because equality (and the…

From  Hannah Lee on November 8th, 2020 51 plays

Lesson 1.6 Complex Expressions

In out introduction of the basic types of Python, we saw a lot of different operations. What happens when we start to mix these operations together? As we see in this video, we have to worry about…

From  Hannah Lee on September 4th, 2020 61 plays

Lesson 1.2 Int Expressions

The most familiar type in Python is int, the set of integers. It supports all of the basic mathematical expressions that you expect, like addition, subtraction, multiplication, and division. However,…

From  Hannah Lee on September 4th, 2020 67 plays