We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daa539a commit 24b5c71Copy full SHA for 24b5c71
sum_total (∑n)
@@ -0,0 +1,5 @@
1
+def sum_total(n):
2
+ return int(n*(n+1)/2)
3
+
4
5
+print(sum_total(10))
0 commit comments