even or odd

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

if (num % 2) == 0:
   print(num, "is an even number")
else:
   print(num," is an odd number")




OUTPUT :- 




For Other Programs Visit The WebSite:-   https://www.techapurba.com/

Follow Me On Social Media :-

For tech related videos visit my other website :- https://apurbatechinfo.blogspot.com/

Post a Comment

0 Comments