Implement the following: (PYTHON)1) Use a loop to continuously request an integer input from the console.2) As long as the value is positive, request new values.3) Once the value is zero or negative, end the loop.4) Prompt a message and print all valid values.Example OutputEnter an integer (zero or negative to stop): 1Enter an integer (zero or negative to stop): 100Enter an integer (zero or negative to stop): 0Invalid range. Loop ends.1 | 100 |
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here