Skip to main content
Guest
My Media
My Playlists
My History
Login
Search
Add New
Media Upload
Guest
My Media
My Playlists
My History
Login
Cornell University
Cornell University
Close search in video box
Home
Channels
My Media
Help
Back
Top
All
Home
Channels
My Media
Help
Play
Play
Back to video
00:00
Play
Seek 10 seconds backwards
Seek 10 seconds forward
00:00 / 00:00
Mute
Picture in picture
Fullscreen
Lesson 24.2 The isinstance Function
From
Hannah Lee
November 12, 2020
views
Related Media
Loading…
Details
Details
.
.
.
Details
.
.
.
Back
In this video, we show that we can solve the problem of strict typing by using the isinstance function. This function will be our preferred way for enforcing preconditions going forward.
Tags
instance
employee
fraction
function
subclass
executive
class
object
fractions
int
types
preconditions
definition
string
module
expression
classes
python
power
statement
Looking for more...