Question: The output should look like this Python. Please explain what your code does. 7. Take in integers until the user types QUIT and store the

The output should look like this Python. Please explain what your codeThe output should look like this

does. 7. Take in integers until the user types "QUIT" and storePython. Please explain what your code does.

7. Take in integers until the user types "QUIT" and store the numbers in an array. Assume any input other than "QUIT" is a valid integer. Create another array of just the even numbers and print it. Enter a number or QUIT to quit: 4 Enter a number or QUIT to quit: 5 Enter a number or QUIT to quit: 8 Enter a number or QUIT to quit: 7 Enter a number or QUIT to quit: 6 Enter a number or QUIT to quit: 3 Enter a number or QUIT to quit: 2 Enter a number or QUIT to quit: 9 Enter a number or QUIT to quit: QUIT [4, 8, 6, 2]

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!