Skip to content

Instantly share code, notes, and snippets.

@ScalaWilliam
Created February 15, 2017 13:52
Show Gist options
  • Select an option

  • Save ScalaWilliam/1f2c8d0b3218b246190b01f50b3d90c6 to your computer and use it in GitHub Desktop.

Select an option

Save ScalaWilliam/1f2c8d0b3218b246190b01f50b3d90c6 to your computer and use it in GitHub Desktop.
def fib(n):
pass
assert fib(0) == 0
assert fib(1) == 1
assert fib(2) == 1
assert fib(3) == 2
assert fib(4) == 3
assert fib(5) == 5
assert fib(6) == 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment