Question: please use python Students will have to write a program that will generate a list of Fibonacci numbers of size n. The interaction with the
Students will have to write a program that will generate a list of Fibonacci numbers of size n. The interaction with the end user will be like the following as an example. How large should the list of Fibonacci numbers be? 4 The list of Fibonacci numbers of size 4 is: {1,1,2,3} Do you wish to continue? From the above example, you can see that the program will allow the user to enter a different size. The size of the list is determined by the number entered by the user. The following functions are required. 1. A function that will generate the sequence we can call this function fib(size) where size is the number of ltems within the list. 2. A main function that will have a. A main program loop b. Prompts to the user as shown c. Inputs from the user as shown d. A function call to fib(size) Students should stick with loops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
