summaryrefslogtreecommitdiff
path: root/progs/a236.py
blob: c9e2c41994d55305b310e329fff8bfe7edadc659 (plain)
1
2
3
4
5
def cube_Sum(n): 
    sum = 0   
    for i in range(0,n) : 
        sum += (2*i+1)*(2*i+1)*(2*i+1) 
    return sum