Write a function to generate the Fibonacci sequence up to a certain number of terms.

Related Book For  answer-question
Posted Date: