Class attributes

Report a typo

Choose all class attributes from the code below.

class Tree:
    trunk = True
    branches = True

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

Create a free account to access the full topic