Python icon indicating copy to clipboard operation
Python copied to clipboard

Add iterative Fibonacci implementation

Open agarwalpranay02 opened this issue 2 months ago • 0 comments

Overview

Added an iterative implementation of Fibonacci sequence.

Implementation Details

• New file: maths/fibonacci_iterative.py • Returns nth Fibonacci number using a loop • Included type hints and docstring • Included simple error handling for invalid input

Confirmations

  • [x] Code includes type hints and docstring
  • [x] Code follows style guidelines

agarwalpranay02 avatar Oct 28 '25 20:10 agarwalpranay02