Question: Write a Python script that prints and calculates the sum of all odd and even numbers separately from 0 to 1 0 0 . The
Write a Python script that prints and calculates the sum of all "odd" and "even" numbers separately from to The program should then compare the two sums and display which one is greater, or if they are equal.
Don't make any assumptions about the resultlet your calculations determine it Use a conditional statement ifelse, or ifelifelse statement to identify which sum is larger and by how much, if applicable.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
