Saturday, January 16, 2021

Python program for finding whether the given number is an odd or an even number

 n = int(input("Enter a number:"))

if n % 2 == 0:

    print(n, "is an even number")

else:

    print(n, "is an odd number")

No comments:

Post a Comment

The Power of a Genuine Compliment: A Small Kindness That Can Change Your Day 😊

  https://www.youtube.com/watch?v=i1gDGLY4kC8 Hi, namaste. Kamcho. So, uh I was just thinking like I was working now. It's almost going ...