Fibonacci sequence

Example code

Straightforward version without trickery

Straightforward, compacter version with some trickery

Exercise 1

Complete the code by replacing # ...........

Create a function that prints the sequence

Exercise 2

Complete the code by replacing # ...........

Create a function that returns the sequence