Musical instruments

Report a typo

Your friend has written a piece of code and sent it to you for a review:

class Piano(Instrument):
    pass

class Violin(Instrument):
    pass

class Instrument:
    def __init__(self, name, manufacturer):
        self.name = name
        self.manufacturer = manufacturer

What can you suggest?

Select one option from the list
___

Create a free account to access the full topic