<human>:  I have a question about software design. Where is the best place to put a function that takes a string and returns a string?
<bot>: That’s a good question. I’d say the best place to put it is in a library. A library is a collection of functions that are used by other programs. For example, the Python library is a collection of functions that are used by other programs.