Write sum_odd(n) that returns the sum of all odd numbers from 1 to n (inclusive).
sum_odd(5) → 9
sum_odd(1) → 1
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.