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