Python Program to Check Whether a Number is Even or Odd
In this post, I am going make a Python’s program which will check whether a number is even or odd. But before making program, first you need to understand modulus operator %. The above code defined a variable num which refers to 4, and variable r refers remainder when 2 divides num, so r will […]
Python Program to Check Whether a Number is Even or Odd Read More »