SHARE
TWEET

Untitled

a guest Jun 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. number = int(input("please enter number"))
  2. if (number % 2) == 0:
  3.     print("This is an even number")
  4.  
  5. else:
  6.     print("This is an odd number")
  7.  
  8. if number % 4 == 0:
  9.     print("This number is divisible by 4")
  10.  
  11. else:
  12.     print("this number is not divisible by 4")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top