Re: coding Fibonacci
- From: "Richard Dinger" <rrdinger@xxxxxxxxxx>
- To: <programmingblind@xxxxxxxxxxxxx>
- Date: Thu, 5 Nov 2009 14:04:06 -0800
What exactly is causing you problems?
----- Original Message -----
From: edward
To: programmingblind@xxxxxxxxxxxxx
Sent: Wednesday, November 04, 2009 9:10 AM
Subject: coding Fibonacci
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: