Sign of the product of an array | Python Solution
\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        product=1\n        for i in nums:\n            if i==0:\n                return 0\n
```\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        product=1\n        for i in nums:\n            if i==0:\n                return 0\n            product*=i\n        if product<0:\n            return -1\n        elif product>0:\n            return 1\n```
[]