Very easy python solution beats 99% runtime
\n\n# Code\n\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        if 0 in nums:\n            return 0\n        else :\n            return
\n\n# Code\n```\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        if 0 in nums:\n            return 0\n        else :\n            return (-1)**(len([i for i in nums if i < 0]) % 2)\n```
['Python3']