Pergunta de entrevista da empresa TransMarket Group

Give a closed form solution for finding nth term of Fibonacci to write python code that calculates answer in constant time.