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