JkSoftware

Day 3 - Odd or Even Challenge

Nov 5th, 2021 (edited)
437
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #  Don't change the code below
  2. number = int(input("Which number do you want to check? "))
  3. #  Don't change the code above
  4.  
  5. #Write your code below this line
  6. numcheck = number / 2
  7.  
  8. if numcheck == int:
  9.     print(f"{number} is an Even Number")
  10. else:
  11.     print(f"{number} is an Odd Number")
RAW Paste Data Copied