Created
August 20, 2020 07:47
-
-
Save Svastikkka/39643edefce27c1e97ed166030293b2e 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
t=int(input()) | |
c=0 | |
for i in range(t): | |
n=int(input()) | |
c=c+(n*3) | |
print(c) |
Author
Svastikkka
commented
Aug 20, 2020
- Triangle Sum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment