coding Fibonacci
- From: "edward" <personal.edward@xxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Wed, 4 Nov 2009 12:10:16 -0500
hello all,
I am having a problem coding this example in python. can anyone help
please.
edward
The Fibonacci series
0, 1, 1, 2, 3, 5, 8, 13, 21, ...
begins with the terms 0 and 1 and has the property that each succeeding term
is the sum of the two preceding terms. Write a function fibonacci which
accepts a positive number n and returns a list that contains the first n
numbers in the Fibonacci series.

Other related posts: