Which line in the following code is creating the spot Dog?

1 class Dog:
2 def __init__(self, breed, color):
3 self.breed = breed
4 self.color = color
5 def output(self):
6 print(self.breed + " " + self.color)
7 spot = Dog("lab","black")
8 spot.output()

(1 point)
Responses

line 7
line 7
line 2
line 2
line 8
line 8
line 1

1 answer

line 7
Similar Questions
    1. answers icon 1 answer
  1. Which line in the following code is creating the spot Dog?1 class Dog: 2 def __init__(self, breed, color): 3 self.breed = breed
    1. answers icon 7 answers
  2. Which line in the following code is creating the spot Dog?1 class Dog: 2 def __init__(self, breed, color): 3 self.breed = breed
    1. answers icon 1 answer
  3. Which line in the following code is creating the spot Dog?1 class Dog: 2 def __init__(self, breed, color): 3 self.breed = breed
    1. answers icon 1 answer
more similar questions