I need help Note: It`s a python Implement the following: 1) Use a loop to continuously request an integer input from the console. 2) As long as the value is negative, request new values. 3) Once the...


I need help


Note: It`s a python


Implement the following:
1) Use aloop tocontinuously request an integer input from the console.
2) As long as the value isnegative, request new values.
3) Once the value iszero orpositive, end the loop.
4)Prompt a message and printall validvalues in the range and thenumber of values.



Input text can be any content.  Just make sure to precisely match the outputformat below.
Write your code in theANSWER area provided below (must includecomments if using code is not covered in the course).







Example Output


Enter an integer (zero or positive to stop): -1
Enter an integer (zero or positive to stop): -100
Enter an integer (zero or positive to stop): 0
Invalid range. Loop ends.


-1 | -100 |
# of values = 2



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here