Advertisement
Jorell_Ramos_Sinaga

Untitled

Dec 18th, 2021
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. n=int(input())
  2. for i in range(n):
  3. a=int(input())
  4. if(a<0):
  5. if(a%2==0):
  6. print("EVEN NEGATIVE")
  7. else:
  8. print("ODD NEGATIVE")
  9. elif(a>0):
  10. if(a % 2 == 0):
  11. print("EVEN POSITIVE")
  12. else:
  13. print("ODD POSITIVE")
  14. elif(a==0):
  15. print("NULL")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement