Question: I need help with python please Write a program that reads a sequence of integer inputs and uses a while loop and and if/else statement

I need help with python please

Write a program that reads a sequence of integer inputs and uses a while loop and and if/else statement to print the number of even and odd inputs.

I need help with python please Write a program that reads a

Ex: If the inputs are 3,6,79,12,Q it would look like this for the input: Enter an integer (Q to quit): 3 Enter an integer (Q to quit): 6 Enter an integer (Q to quit): 7 Enter an integer (Q to quit): 9 Enter an integer (Q to quit): 12 Enter an integer (Q to quit): 8 and this for the output: The user entered 2 even values and 3 odd values. Ex: If the inputs are 4,11,24,5,9,2,Q, and entire run of the program would be: Enter an integer (Q to quit): 4 Enter an integer ( Q to quit): 11 Enter an integer ( Q to quit): 2 Enter an integer (Q to quit): 24 Enter an integer (Q to quit): 5 Enter an integer (Q to quit): 9 Enter an integer (Q to quit): 2 Enter an integer (Q to quit): Q The user entered 3 even values and 3 odd values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!