Question: Python Q#3 Use the loop structure to write a program that receives 5 positive numbers from the user and calculates the sum of all odd
Python
Q#3 Use the loop structure to write a program that receives 5 positive numbers from the user and calculates the sum of all odd numbers.
Here is an example:
input: Please input number 1: 23 Please input number 2: 11 Please input number 3: 12 Please input number 4: 17 Please input number 5: 26
output: The sum of the odd numbers entered by user is equal to: 51
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
