Python Fibonacci sequence error
<p>this was one of the problems I was assigned in MyProgrammingLab. I've attempted to answer this problem over 45 times, but can't get it right. 
Any help will be appreciated</p>

<p>Question:
In the following sequence, each number (except the first two) is the sum of the previous two numbers: 0, 1, 1, 2, 3, 5, 8, 13, .... This sequence is known as the Fibonacci sequence.</p>

<p>We speak of the i'th element of the sequence (starting at 0)-- thus the 0th element is 0, the 1st element is 1, the 2nd element is 1, the 3rd element is 2 and so on. Given the positive integer n, associate the nth value of the fibonacci sequence with the variable  result. For example, if n is associated with the value 8 then result would be associated with 21.</p>

<p>My work:</p>

<pre><code>def fib(n):
    if n &lt;= 1:
        result == n
    elif n &gt;= 1:
        result = fib(n-1)+fib(n-2)
    else:
        return result
</code></pre>