summaryrefslogtreecommitdiff
path: root/progs/a330.py
blob: 049a415ca0f26a1d0ffe65dfd06db85602ef000e (plain)
1
2
3
4
5
import math 
def sum_series(number):
 total = 0
 total = math.pow((number * (number + 1)) /2, 2)
 return total