Created
November 5, 2015 13:46
-
-
Save popey456963/e77c322c017596e2016f to your computer and use it in GitHub Desktop.
Fibonacci
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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