The following code contains definitions for classes Device a…

Questions

The fоllоwing cоde contаins definitions for clаsses Device аnd Speaker. In this code, the Speaker class is the child of the Device class, and uses inheritance techniques in its implementation. However, the implementation has logical or syntax errors. 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")