0
1.3kviews
Write a Python Program to Check if a Number is Odd or Even
1 Answer
0
79views

A number is even if it is perfectly divisible by 2. When the number is divided by 2, we use the remainder operator % to compute the remainder. If the remainder is not zero, the number is odd.

In this program, we ask the user for the input and check …

Create a free account to keep reading this post.

and 2 others joined a min ago.

Please log in to add an answer.