Question: Write a Python program which asks the user to enter two integer numbers, and loops through the integer numbers from the first to the second

Write a Python program which asks the user to enter two integer numbers, and loops through the integer numbers from the first to the second one (both included), in ascending order. When the number is even and positive or equal to 0 , the program should print: [number] is even and positive or equal to 0 . When the number is even and negative, the program should print: [number] is even and negative. When the number is odd and positive or equal to 0 , the program should print: [number] is odd and positive or equal to 0 . When the number is odd and negative, the program should print: [number] is odd and negative. Notes: - The output must be in the format shown in the examples below, including the format of the prompt, spaces, and punctuation. - If the first number is larger than the second number then nothing is printed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
