1. Spyder python files/9.0.1_Files_&_Functions.py
def fib(n):
    ''' Calculates and returns the nth fibonacci number'''
    a = 0
    b = 1
    for i in range(n):
        a,b = b,a+b
    return a
 Calculates and returns the nth fibonacci number
Calculates and returns the nth fibonacci number
Calculates and returns the nth fibonacci number
def fib(n):
    a = 0
    b = 1
    for i in range(n):
        a,b = b,a+b
    return a
def fib ( n ) : a = 0 b = 1 for i in range ( n ) : a , b = b , a + b return a
Calculates and returns the nth fibonacci number
Calculates and returns the nth fibonacci number
''' Calculates and returns the nth fibonacci number'''
n