if p(x)=6x^3+7x minus3
Answers
Answered by
1
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
Science,
5 months ago
Geography,
5 months ago
Hindi,
5 months ago
Economy,
10 months ago
Social Sciences,
10 months ago
Social Sciences,
1 year ago
English,
1 year ago