# Program to find the sum of series 1/1+1/2+1/3..+1/N print("Enter the range of number:")n=int(input())print("Enter the value of x:");x=int(input())sum=0i=1while(i<=n):    sum+=pow(x,i)    i+=2print("The sum of the series = ",sum)