Question: Write a python function that computes the 1 2 th Fibonacci number. Post your python code on Assessments = > Assignments = > HW 1

Write a python function that computes the 12th Fibonacci number. Post your python code on
Assessments => Assignments => HW1_Fibonacci.
I only need to know the value of F(12), not all intermediate values (i.e., no need to save values of F(0),
F(1), F(2),..., F(11))
Note:
0th Fibonacci number F(0)=0
1st Fibonacci number F(1)=1
2nd Fibonacci number F(2)=0+1=1
3rd Fibonacci number F(3)=1+1=2
4th Fibonacci number F(4)=1+2=3
5th Fibonacci number F(5)=2+3=5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!