# Even or Odd number = int(input("Enter a number: ")) if number % 2 == 0: print("The number is even.") else: print("The number is odd.")
Output:
Enter a number: 4
The number is even.
# Even or Odd number = int(input("Enter a number: ")) if number % 2 == 0: print("The number is even.") else: print("The number is odd.")
Output:
Enter a number: 4
The number is even.
+91-8400061384
support@ithunt.org