Skip to content

Instantly share code, notes, and snippets.

@Svastikkka
Created August 20, 2020 07:47
Show Gist options
  • Save Svastikkka/39643edefce27c1e97ed166030293b2e to your computer and use it in GitHub Desktop.
Save Svastikkka/39643edefce27c1e97ed166030293b2e to your computer and use it in GitHub Desktop.
t=int(input())
c=0
for i in range(t):
n=int(input())
c=c+(n*3)
print(c)
@Svastikkka
Copy link
Author

  1. Triangle Sum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment