Created
September 28, 2022 22:19
-
-
Save modos/38333b7a2da8363c7ab910dfa05ce88e to your computer and use it in GitHub Desktop.
منو پیاده کن
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(n * (n+1) // 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment