This video explains you how to write a program to display and calculate the sum of the series of numbers 1/2 , 1/3, 1/4, 1/5 , . . . upto n terms.
It goes through each iteration of the loop step by step showing you how each statement executes and what exactly it does. This gives you a thorough understanding of the program so that you can do it yourself later on.
video link for "range" function : • range function in python
video link for "for" loop : • for loop in Python
video link for program to calculate sum of first 10 natural numbers : • python program to print the sum of fi...