Odd or Even

PHOTO EMBED

Mon Sep 25 2023 19:04:34 GMT+0000 (Coordinated Universal Time)

Saved by @Duhita0209

number = int(input("Which number do you want to check"))
if number % 2 == 0:
    print("This is an even number.")
else:
    print("This is an odd number.")
content_copyCOPY

If or Else