Question: Write a Python program that Prompts user to enter a number (in other words, asks user to enter a number) Reads the number Checks if
Write a Python program that Prompts user to enter a number (in other words, asks user to enter a number) Reads the number Checks if the input number is odd or even and prints an appropriate message. A number is even if it is divisible by 2. Checks if the input number is divisible by 3 or not and prints an appropriate message.

Objectives: Write a Python program that - Prompts user to enter a number (in other words, asks user to enter a number) - Reads the number - Checks if the input number is odd or even and prints an appropriate message. A number is even if it is divisible by 2 . - Checks if the input number is divisible by 3 or not and prints an appropriate message. File naming direction: Name your code file: YourLastName_hw03.py Sample runs: Enter a number: 123 123 is odd. 123 is divisible by 3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
