summaryrefslogtreecommitdiff
path: root/progs/a330.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a330.py')
-rw-r--r--progs/a330.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/progs/a330.py b/progs/a330.py
new file mode 100644
index 0000000..049a415
--- /dev/null
+++ b/progs/a330.py
@@ -0,0 +1,5 @@
+import math
+def sum_series(number):
+ total = 0
+ total = math.pow((number * (number + 1)) /2, 2)
+ return total \ No newline at end of file