Superb Logic in python3,Java,Golang
1. Python3 Solution\n\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        answer=0\n        for i in nums:\n            if i==0:\n      
# 1. Python3 Solution\n```\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        answer=0\n        for i in nums:\n            if i==0:\n                return 0\n            if i<0:\n                answer+=1\n        return 1 if answer%2==0 else -1\n\t\t\n```\n# 2. Golang Solution \n```\nfunc arraySign(nums []int) int {\n    answer:=0\n    for _,v:=range nums{\n        if v==0{\n            return 0\n        }\n        if v<0{\n            answer++\n        }\n    }\n    if answer%2==0{\n        return 1\n    }\n    return -1\n}\n```\n# 3. Java Solution\n```\nclass Solution {\n    public int arraySign(int[] nums) {\n        int answer=0;\n        for(int n :nums){\n            if (n==0){\n                return 0;\n            }\n            if (n<0){\n                answer++;\n            }\n        }\n        return answer%2==0?1:-1;\n    }\n}\n```\n# 4. Python3 Solution\n```\nclass Solution:\n    def arraySign(self, nums: List[int]) -> int:\n        #import math\n        list1=[]\n        for i in nums:\n            if i<0:\n                list1.append(-1)\n            elif i>0:\n                list1.append(1)\n            else:\n                list1.append(0)\n        list2=math.prod(list1)\n        return list2\n```\n
['Java', 'Go', 'Python3']