RavenChrstn

Untitled

Sep 24th, 2021
776
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. N = int(input())
  2.  
  3. if N < 10000:
  4.     for times in range(N):
  5.         X = int(input())
  6.         if -10**7 < X < 10**7:
  7.             if X == 0:
  8.                 print("NULL")
  9.             if X < 0 and X % 2 == 0:
  10.                 print("EVEN NEGATIVE")
  11.             if X > 0 and X % 2 == 0:
  12.                 print("EVEN POSITIVE")
  13.             if X < 0 and X % 2 != 0:
  14.                 print("ODD NEGATIVE")
  15.             if X > 0 and X % 2 != 0:
  16.                 print("ODD POSITIVE")
  17.  
RAW Paste Data