Computer Science, asked by prapti28, 11 months ago

please do this program by input statement​

Attachments:

Answers

Answered by rishavsharma21pd1prg
1

Answer:

n=int(input("Enter the number of terms: "))

a=int(input("Enter the numerator"))

sum1=0

for i in range(2,n+2):

   sum1=sum1+(a/i)

print("The sum of series is",sum1)

mark me as brainliest

Similar questions