gruntfutuk

OddEven-collegetest

Mar 7th, 2018
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. num = int(input('Enter an integer: '))
  2. if num % 2 == 0:
  3.     print('%d is even.' % num)
  4. else:
  5.     print('%d is odd.' % num)
Add Comment
Please, Sign In to add comment