Are you sure you want to change langages? Any current edits will be lost.
def fib(self, n: int) -> int:
# code goes here, return the correct value
The Fibonacci sequence is present throughout the natural world. The sequence starts with 1,1,2,3,5,8,13 and
continues to any given upper limit. Each new term in the Fibonacci sequence is generated by adding the previous
two terms. Create a program, which, given an index, returns the Fibonacci element at that sequence.
create a class called 'Fibonacci'
create a method 'fib' which takes the ordinal position of the element in the sequence
assume the 1st element of the array starts at 1
assume the value of that 1st element also begins at 1