Python Basics: Building Systems With Classes (Quiz)

CB on Nov. 3, 2023

Unsure why isinstance(jack, Dog) returns False. jack is in the Bulldog class which is a subclass of Dog, so should return True?

Bartosz Zaczyński RP Team on Nov. 4, 2023

It does return True, and that’s what the quiz question expects. Are you getting a different result when you run the code?

Become a Member to join the conversation.