Question: Can you use python. Write a program that asks the user to input positive 10 integers. Your program must validate each integer as it is

Can you use python.

Can you use python. Write a program that asks the user to

Write a program that asks the user to input positive 10 integers. Your program must validate each integer as it is entered, forcing the user to give a value that is positive. (You shall not assume that the values are positive.) Once you know that a number is positive, print it as output. and then move on to the next input. After the last tenth positive number is printed, print the word 'Done". That's it! Ex: if the input is then the output should be because 8,4,0, and -1 are not positive. As in the last lab, you should avoid writing 10 input statements; try to do the entire assignment with a set of two nested while or for loops

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!