Question: 2. Write a program called my odd_sum.py to compute the sum of all odd numbers in a given range. Here's part of the code:
2. Write a program called my odd_sum.py to compute the sum of all odd numbers in a given range. Here's part of the code: m = 10 n = 20 #Write code to add up the odd numbers between m and n inclusive WRITE YOUR CODE HERE When m-10, and n-20, you should get 75 Then test out your code by changing m to m-100 and n to n-150. What do you get?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
