Question: Create a code in python that follows the directions Ask the user to enter 500 integers, one at a time. After the user has entered
Ask the user to enter 500 integers, one at a time. After the user has entered all the integers, print the total number of negative integers, and print the sum of the odd integers. You may assume the user enters at least one positive integer and at least one negative integer. For example, if the sequence 5, -2, 4, -15, 6, 21 was entered, the program should first output 2 (because there are two negative integers -2 and -15), then output 11 (since 5, -15, 21 are odd and their sum is 11)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
