How to make a chain of function decorators?

How can I make two decorators in Python that would do the following?

…which should return:

I’m not trying to make HTML this way in a real application – just trying to understand how decorators and decorator chaining […]

How to exit the Vim editor?

I’m stuck and cannot escape. It says:

But when I type that it simply appears in the object body. Hit the Esc key to enter “Command mode”. Then you can type : to enter “Command-line mode”. A colon (:) […]