BMO Financial Group Interview Question

Write a function that takes in a number n and outputs the nth term of the Fibonacci sequence (Python coding question)