Engineering

Given the base class Instrument, define a derived class StringInstrument for string instruments with a constructor that initializes the attributes of the Instrument class as well as new attributes of the following typesinteger to store the number of stringsinteger to store the number of fretsboolean to store whether the instrument is bowedEx. If the input is:DrumsZildjian20152500GuitarGibson20021200619Falsethe output is:Instrument Information: Name: DrumsManufacturer: ZildjianYear built: 2015Cost: 2500Instrument Information: Name: GuitarManufacturer: GibsonYear built: 2002Cost: 1200Number of strings: 6Number of frets: 19Is bowed: FalseMy code so far:class Instrument:def __init__(self, name, manufacturer, year_built, cost):self.name = nameself.manufacturer = manufacturerself.year_built = year_builtself.cost = costdef print_info(self):print(f'Instrument Information:')print(f' Name: { self.name }')print(f' Manufacturer: { self.manufacturer }')print(f' Year built: { self.year_built }')print(f' Cost: { self.cost }')class StringInstrument(Instrument):# TODO: Define constructor with attributes:# name, manufacturer, year_built, cost, num_strings, num_frets, is_boweddef __init__(self, name, manufacturer, year_built, cost, num_strings, num_frets):super().__init__(name, manufacturer, year_built,cost)self.num_strings = num_stringsself.num_frets = num_fretsif __name__ == "__main__":instrument_name = input()manufacturer_name = input()year_built = int(input())cost = int(input())string_instrument_name = input()string_manufacturer = input()string_year_built = int(input())string_cost = int(input())num_strings = int(input())num_frets = int(input())is_bowed = eval(input())my_instrument = Instrument(instrument_name, manufacturer_name, year_built, cost)my_string_instrument = StringInstrument(string_instrument_name, string_manufacturer, string_year_built, string_cost, num_strings, num_frets, is_bowed)my_instrument.print_info()my_string_instrument.print_info()print(f' Number of strings: { my_string_instrument.num_strings}')print(f' Number of frets: { my_string_instrument.num_frets}')print(f' Is bowed: { my_string_instrument.is_bowed}')Error message received:Traceback (most recent call last): File "main.py", line 36, in my_string_instrument = StringInstrument(string_instrument_name, string_manufacturer, string_year_built, string_cost, num_strings, num_frets, is_bowed) TypeError: __init__() takes 7 positional arguments but 8 were given