You are viewing a single comment's thread. Return to all comments →
True, I switched from JavaScript just to get it done.. did find a pitfall though.
third = math.pow(second, 2) + first
will produce weird numbers from the 8th iteration.
instead must use: second*second + first
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 →
True, I switched from JavaScript just to get it done.. did find a pitfall though.
will produce weird numbers from the 8th iteration.
instead must use: second*second + first