# Program to Find sum of series 1+(1+3)+(1+3+5)+....+N print("Enter the range of number(Limit):")n = int(input())i = 1sum = 0while (i <= n):    for j in range(1, i + 1,2):        sum+=j    i += 2print("The sum of the series = ", sum)