class Dog: def_init__(self, name, age): self.name = name self.age age The correct way to instantiate the above Dog class
Posted: Fri Jul 01, 2022 5:35 am
Question 4 (2 points) Saved Select the correct method to write a list of lines to a file writelines(list) writelist(list) write(list)
class Dog: def_init__(self, name, age): self.name = name self.age age The correct way to instantiate the above Dog class is: Dog.create("Rufus", 3) Dog.__init__("Rufus", 3) Dog("Rufus", 3) Dog()