You are viewing a single comment's thread. Return to all comments →
Python3 only 1 line
return (t2 if n==2 else fibonacciModified(t2,t1+t2*t2,n-1))
Seems like cookies are disabled on this browser, please enable them to open this website
Fibonacci Modified
You are viewing a single comment's thread. Return to all comments →
Python3 only 1 line