I’ll start with a few questions, one at a time, to see what you already know. Then we’ll practice decorator syntax and timing, writing wrappers, preserving metadata, accepting decorator arguments, and stacking decorators.

```python
def trace(fn):
    print("decorating")

    def wrapper():
        print("calling")
        return fn()

    return wrapper

@trace
def greet():
    print("hello")

print("ready")
greet()
greet()
```

What does this print, in order, and what triggers each line?