Logo Python Course
0.0064 seconds
EN | RU
TT
  • Question
  • Clues from AI
  • Submissions
Find the N-th Fibonacci Number

The Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones, starting from 0 and 1. Your task is to write a function (def getNthFib(n)) that returns the N-th Fibonacci number efficiently.

main.py