I am trying to find the sum of all odd numbers within a given range but I cannot figure out how to specify which numbers are odd. My professor said to use \"for num in numbe
I believe sum(range(1,end_number,2) will work well, and easy,.
sum(range(1,end_number,2)