(n)
return b
return nth term of Fibonacci sequence
return nth term of Fibonacci sequence
return nth term of Fibonacci sequence
def fib(n):
    "return nth term of Fibonacci sequence"
    a, b = 0, 1
    i = 0
    while i<n:
        a, b = b, a+b
        i += 1 
    return b
def fib ( n ) : a , b = 0 , 1 i = 0 while i < n : a , b = b , a + b i += 1 return b