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.")
If or Else
Copy this HTML code:
Preview:
open_in_newInstructions on embedding in Medium
Comments