daily pastebin goal
70%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/usr/env python
  2.  
  3. num=input("Enter a number: ")
  4.  
  5. ans=int(num)%2
  6. if ans==0:
  7.     print("You entered an Even number")
  8. else:
  9.     print("You entered an Odd number, which makes you odd")
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