# Rosetta Code Fibonacci Example

From

rosettacode.org:

## Code Examples

### Using Recursion

Code to calculate fibonacci numbers using a recursion:

### Using Loop

Code to calculate fibonacci numbers using a loop:

### Using Zip

Code to calculate fibonacci numbers using recursion and a zip:

### Supporting Negative Fibonacci Numbers

Code to calculate fibonacci numbers including negative ones using a loop: