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

When Kindness Meets the Scrum Master Mindset ❤️ | Empathy, Logic & Life ✨

  https://youtube.com/shorts/gIB_yE5uVIk Hi. So um yeah currently I have been appearing for CSM training that is the scrum master training a...