Question: Write a python program by accepting a number to find the number is even or odd. Hint: Use while loop to run your program continuously.
CV.C:\Windows\system32\cmd.exe C:\PythonWorkspace Files >python tryexceptTest.py Enter a number to check its even or odd. Enter 'q' to quit. First number: 3 Odd Number First number: 8 Even number First number: 4 C:\PythonWorkspace\Files)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
