human
Program to find sum of harmonic series | Python program to find sum of harmonic series using recursion.
Base condition.
Driven Code"
Solution in Python:
assistant
#Here is code to program to find sum of harmonic series and the other steps required.
 def sum ( n ) :
	if n < 2 :
		return 1
	else :
		return 1 / n + ( sum ( n - 1 ) )
print ( sum ( 8 ) )
print ( sum ( 10 ) )