python3 Solution
\n\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        if 0 in nums:\n            return 0\n\n        res=1\n        for x in nums:\n   
\n```\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        if 0 in nums:\n            return 0\n\n        res=1\n        for x in nums:\n            res*=int(x/abs(x))\n\n        return res        \n```
['Python', 'Python3']