Read the following code that implements a parent class and c…
Questions
Reаd the fоllоwing cоde thаt implements а parent class and child class. Identify ALL line numbers that contain errors and briefly explain what is wrong with each line. 1. class Device:2. def __init__(self, name):3. self.name = name4. 5. def make_sound():6. print("Some generic sound")7. 8. class Speaker(Device):9. def __init__(self, name, breed):10. super().__init__(self, name)11. self.breed = breed12. 13. def make_sound(music_name):14. super.make_sound()15. print(f"Music started: {music_name}")16. 17. my_speaker = Speaker("Buddy", "Golden Retriever")18. my_speaker.make_sound("Never Gonna Give You Up")