Medium
Sum of Odd Squares
Read n and print the sum of the squares of all odd numbers from 1 to n, using a generator expression inside
sum().Input
One integer n ≥ 1.
Output
A number.
Sample 1
Input
5
Output
35
Sample 2
Input
1
Output
1
Output appears here