Python Programming – John Zelle: Chapter 3 ex. 16

#Chapter 3 Exercise 16
A Fibonacci sequence is a sequence of numbers where each successive number is the sum of the previous two.
The classic Fibonacci sequence begins 1, 1, 2, 3, 5, 8, 13,….
Write a program that computes the nth Fibonacci number where the n is a value input by the user

Run =
This program that computes the nth Fibonacci number where the n is a value input by the user
Please input what Fibonacci number you want to be calculated: 6
8

*****************************************

When I first read through the question I read it wrong.
I thought the exercise was to sum the numbers… So here is the result if you want to sum the numbers 🙂

This program that computes the nth Fibonacci number where the n is a value input by the user
how many numbers would you like to sum? 9
88