as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
generate an example that explains the concept of 'functional programming'.
user
functional programming is a programming paradigm focused on constructing programs by composing functions that manipulate data with no side effects. an example of functional programming might be writing a program to print the first ten numbers in the fibonacci sequence.
assistant