Project Level 1: Beginner
This project is designed for beginner learners who are still learning and practicing Python fundamentals.
Project Description
Create a program that checks if a number is even or odd.
How the Project Works
(1) The program prompts the user to enter a number in the terminal:
(2) The user types in a number (e.g., 3) and presses Enter. The program checks the number and prints out either “The number X is odd.” or “The number X is even.” depending on the number:
Prerequisites
Required Libraries: No libraries are required.
Required Files: No files are required.
IDE: You can use any IDE on your computer to code the project.
Danger Zone
Once you code the project, compare it with our solution below:
This was just the right amount of coding for a quick evening practice. Plus, I learned a new operator, which will come in handy.