Question: program3_2.py Write a program that prompts the user to enter an even integer in the twenties . Using logical operators and just one if expression,
program3_2.py Write a program that prompts the user to enter an even integer in the twenties. Using logical operators and just one if expression, the program should simply respond with "Good input" or "Bad input".
program3_3.py Write a second version of program3_2 that is not restricted to one if expression. This version should identify good inputs and all possible problems for bad inputs, these being: Not even, too low. Even, too low. Even, too high. Not even, too high. Not even, in range. Good input.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
