Fibonacci Python Example for series of all numbers < 10000

The 25th element of the fibonacci series is: 75025. Please compare this with the Perl function I wrote. They should match! The way this function is written, the 25th element will match the 25th element for the Perl Function.