Search for tag: "multiplication"
11.3.20 Jesse Goodman, PhD at Cornell UniversityZoom Recording ID: 97470844866 UUID: f1VhPhybRwaIZHAbdQQZdg== Meeting Time: 2020-11-30T21:01:09Z
From Jordan Staiti
51 plays
|
|
Zoom Nov. 10. Operators and Abstractionin 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
17 plays
|
|
Lesson 24.1 Strict TypingWhenever 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
65 plays
|
|
Lesson 23.5 Mixed-Type OperatorsOperator 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
76 plays
|
|
Lesson 23.3 Object EqualityPreviously 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
88 plays
|
|
Lesson 1.6 Complex ExpressionsIn 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
175 plays
|
|
Lesson 1.2 Int ExpressionsThe 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
196 plays
|
|