#Part I: class definition class Dog: def __init__(self): self.action = "Pant" #Part II: Instantiate an instance (create/declare a 'Dog' variable #Display the current state of the 'action' attribute rover = Dog() print(rover.action) #Part III: Change the state attribute rover.action = "Bark" print(rover.action) #Part IV: Create another instance of a Dog lassie = Dog() #Part V: Change and display the attribute for lassie but not rover #(Note: the attribute name or method name must be preceded by the reference name # as this specifies the instance referred to). lassie.action = "Rescue" print(lassie.action)