Fill the code to solve the problems
Complete the code to let it sum all numbers from 1 to N
2. Complete the code to sum all odd numbers from 0 to n

Complete the code to let it sum all numbers from 1 to N
2. Complete the code to sum all odd numbers from 0 to n
