Which line in the following code is creating the spot Dog?%0D%0A%0D%0A1 class Dog:%0D%0A2 def __init__(self, breed, color):%0D%0A3 self.breed = breed%0D%0A4 self.color = color%0D%0A5 def output(self):%0D%0A6 print(self.breed + " " + self.color)%0D%0A7 spot = Dog("lab","black")%0D%0A8 spot.output()%0D%0A(1 point)%0D%0AResponses%0D%0A%0D%0Aline 8%0D%0Aline 8%0D%0A%0D%0Aline 2%0D%0Aline 2%0D%0A%0D%0Aline 7%0D%0Aline 7%0D%0A%0D%0Aline 1
1 answer
The line that is creating the spot Dog is line 7.