Write a function that returns the nth Fibonacci number. space to flip Write a function that returns the nth Fibonacci number. Answer def fib(n): a, b = 0, 1 for _ in range(n): a, b = b, a + b return a print(fib(10))