Math, asked by aswathy4856, 8 months ago

if p(x)=6x^3+7x minus3​

Answers

Answered by Anonymous
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