Math, asked by salfara3037, 7 months ago

Write a python program to find the sum of 1+ 1/8 + 1/27......1/n3, where n is the number input by the user.

Answers

Answered by keshavbindal06
6

Step-by-step explanation:

Here is source code of the Python Program to find the sum of series: 1+ 1/2 + 1/3 + .. + 1/N. The program output is also shown below.

n=int(input("Enter the number of terms: ")) sum1=0 for i in range(1,n+1): sum1=sum 1+(1/1) print("The sum of series is",round(sum1,2))

Similar questions