Question: please help me code this in python for homework COS 120: Interesting Calculation Due: March 10th at 5pm(10pts) Filename: interesting_calculation_lastname.py (replace lastname with your actual

COS 120: Interesting Calculation Due: March 10th at 5pm(10pts) Filename: interesting_calculation_lastname.py (replace "lastname" with your actual last name) Instructions: Write a program that asks the user to first enter up to 5 numbers. Find the total of only the odd numbers. Then find the total for only the even numbers. Print both totals with a label that makes sense. (Hint: x%2=0 is even.) Allow the user to repeat the 5 number evaluation process until they enter 'stop'. Required elements to demonstrate: Loop(s) and decision structures. Some example program executions: Point Distribution: Asks user for input and stores the result: Converts between data types: Ipts lpts Point Distribution: Asks user for input and stores the result: lpts Converts between data types: lpts Prints final outputs: Implements Loops 1 pts Implements Decision Structures 4pts 3 pts Crashes: 3pts No comments at top: 2pt Logic Errors 1pt Incorrect Filename 1pt COS 120: Interesting Calculation Due: March 10th at 5pm(10pts) Filename: interesting_calculation_lastname.py (replace "lastname" with your actual last name) Instructions: Write a program that asks the user to first enter up to 5 numbers. Find the total of only the odd numbers. Then find the total for only the even numbers. Print both totals with a label that makes sense. (Hint: x%2=0 is even.) Allow the user to repeat the 5 number evaluation process until they enter 'stop'. Required elements to demonstrate: Loop(s) and decision structures. Some example program executions: Point Distribution: Asks user for input and stores the result: Converts between data types: Ipts lpts Point Distribution: Asks user for input and stores the result: lpts Converts between data types: lpts Prints final outputs: Implements Loops 1 pts Implements Decision Structures 4pts 3 pts Crashes: 3pts No comments at top: 2pt Logic Errors 1pt Incorrect Filename 1pt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
