Question: Create a Python program in which you have a list containing a mixture of positive and negative doubles (decimal numbers). Determine the sum of the
Create a Python program in which you have a list containing a mixture of positive and negative doubles (decimal numbers). Determine the sum of the positive numbers in the list as well as the sum of the negative numbers in the list using python. Make sure to print out both of the sums at the end. Your list must have at least 10 numbers and must contain both positive numbers and negative numbers. In order to do this, you must use a loop and conditional statements to accomplish this.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
