Find the Sum of the series: 1+1/2+1/3..+ 1/N in Python

Let’s take a look at the code how to find the sum of series in Python Programming.

enter number of terms:7 ['1/1', '1/2', '1/3', '1/4', '1/5', '1/6', '1/7'] sum of series is: 2.593

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Epythonguru

Epythonguru

A platform for Python Learners from beginners to advanced level. The main focus on the implementation of mathematical equations in and Python frameworks.