Skip to content

Instantly share code, notes, and snippets.

@popey456963
Created November 5, 2015 13:46
Show Gist options
  • Save popey456963/e77c322c017596e2016f to your computer and use it in GitHub Desktop.
Save popey456963/e77c322c017596e2016f to your computer and use it in GitHub Desktop.
Fibonacci
n = int(input())
print(int(n * (n+1)/2))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment