JkSoftware

Day 3 - Odd or Even Challenge

Nov 5th, 2021 (edited)
543
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  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")
Add Comment
Please, Sign In to add comment