Python program to check the given number is even or odd
kw.py
Output
kodingwindow@kw:~$ python3 kw.py __________________________________________ Program for even-odd test of a given number __________________________________________ Enter a number -5005 -5005 is ODD number __________________________________________ kodingwindow@kw:~$ python3 kw.py __________________________________________ Program for even-odd test of a given number __________________________________________ Enter a number 5050 5050 is EVEN number __________________________________________
What Next?
Python program to check whether a given character is an alphabet
Python program to check whether a given year is a leap
Python Loops
Advertisement