Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = int(input())
- for data in range(1, N + 1):
- X = int(input())
- if X % 2 == 0 and X > 0:
- print("EVEN POSITIVE")
- if X % 2 == 0 and X < 0:
- print("EVEN NEGATIVE")
- if X % 2 != 0 and X > 0:
- print("ODD POSITIVE")
- if X % 2 != 0 and X < 0:
- print("ODD NEGATIVE")
- if X == 0:
- print("NULL")
Advertisement
Add Comment
Please, Sign In to add comment