Python Lab Manual / Even or odd number python program

Program Name

Write a python Program for Even or odd number.
Theory
If the number divisible by 2 its remainder is 0 and number is even else the number is odd.
Program Code


Input:
Even / odd Number Program
Enter a number:10
Output:
Given number is Even


Home     Back