# Fibonacci Sequence (Recursive)
This simple Python notebook generates Fibonacci numbers using a recursive function.
## π‘ Project Description
The user enters a number, and the program calculates either:
- the Fibonacci number at that position (Nth number), or
- a sequence of Fibonacci numbers up to that position.
The recursive function is implemented in pure Python and handles invalid input (e.g. negative numbers).
## π What's Included
- Recursive fibonacci(n)
function
- Example outputs for selected numbers
- Loop that prints the first 10 Fibonacci numbers
## π§ Concepts Used
- Recursion
- Basic conditional logic
- Loops
- String formatting with f""
## π How to Use
1. Clone or download this repository.
2. Open the notebook (fibonacci\_final.ipynb
) in Jupyter Notebook or VS Code.
3. Run the cells to see example outputs or experiment with your own input.
## π Sample Output
Fibonacci(1) = 1
Fibonacci(2) = 1
Fibonacci(3) = 2
Fibonacci(4) = 3
Fibonacci(5) = 5
Fibonacci(6) = 8
Fibonacci(7) = 13
Fibonacci(8) = 21
Fibonacci(9) = 34
Fibonacci(10) = 55
## π Next Steps
- Add an iterative version for better performance.
- Implement memoization for large inputs.
- Visualize the growth of the Fibonacci sequence.
Created with β€οΈ by Olga.