Closed Nikhil18Patil closed 11 months ago
This code calculates the Fibonacci sequence using a loop and two variables (a and b) to keep track of the current and next Fibonacci numbers. """It is more efficient than the recursive approach for larger values of terms."""
This code calculates the Fibonacci sequence using a loop and two variables (a and b) to keep track of the current and next Fibonacci numbers. """It is more efficient than the recursive approach for larger values of terms."""