Fruit salad

Report a typo

What is the correct way to create an instance of the class Fruit if it is defined as follows:

class Fruit:
    def __init__(self, name, color):
        self.name = name
        self.color = color
Select one or more options from the list
___

Create a free account to access the full topic