Well done!

You have completed Class Review!

Quiz Question 1 of 5

class Tree:
    falling_leaves = False
    def __init__(self, type):
        self.type = type

    def fall(self):
        if not self.falling_leaves:
            self.falling_leaves = True
        return self.falling_leaves

tree = Tree('Cedar')
print(tree.fall())

In the code above, what will be printed to the console?

Choose the correct answer below:

Skip Quiz Review Video