कुर्या: ____________ कुर्यात
Answers
Answered by
4
Answer:
def findCubeSum(n):
sum = 0
for value in range(1, n+1):
sum += value**3
return sum
n = int(input("Enter the value of n : "))
print("Cube sum : ", findCubeSum(n))
Similar questions