Cube Sum of First n Natural Numbers

PHOTO EMBED

Fri Nov 25 2022 12:10:45 GMT+0000 (Coordinated Universal Time)

Saved by @KarenHolton #education #assignment #homework #student #study #university #python #programming

n=5
s=0
for i in range(1,n+1):
    # adding cube sum using pow() function
    s=s+pow(i,3)
print(s)   
content_copyCOPY

https://www.solidworksassignmenthelp.com/solidworks-project-helpers/