Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Part IV: Languages 1. Give the output: (10 points) Class Anima1: class Animal: d

ID: 3601094 • Letter: P

Question

Part IV: Languages 1. Give the output: (10 points) Class Anima1: class Animal: def init_ (self, nane): def getName (self): def-str-(self) def -init-(self): self.feature- 'I can move.' self. name name return self.name return I am an animal. My name isself.getName ) def str (selE): return self.feature class Dog (Animal): def _str (self) return 'I am a dog. My name is '+self.getName () class Vertebrate (Animal): init de f (self) : - -- self.feature 'I have a backbone.' def printAnima1Name (x): if isinstance (x, Animal): class Arthropod (Animal): init print (x) def (self) : else: - self" feature - 'I have print('This is not an animal') jointed limbs and no backbone.' def main): def main): critterAnimal ('critter') Bo -Dog( 'Bo') creature = vertebrate() print (creature) creature Arthropod () print (creature) printAnimalName ("critter') printAnimalName (Bo) main() main()

Explanation / Answer

Program on LHS

This is not an animal
I am a dog.My name is Bo

Program on RHS

I have a backbone
I have jointed limbs and no backbone