Computer Science, asked by imsanjana, 7 months ago

write a program to find and display the sum of the given series - s=a-a/2-a/3-a/4.............-a/20​

Answers

Answered by nkcthereaper
0

Answer:

a=int(input('enter value of a='))

s=0

for i in range(1,21):

   s=s+a/i

print('sum of series=',s)

Explanation:

here

Similar questions