[Python3] just wanna pass(Runtime 98.60, Memory 36.28%)
\n\n\n# Code\n\nimport math\nfrom functools import reduce\nclass Solution:\n    def isGoodArray(self, nums: List[int]) -> bool:\n        # Compute the GCD of th
![Screenshot 2024-07-10 at 10.01.29\u202FAM.png](https://assets.leetcode.com/users/images/64fbd89d-3ee5-4cfe-8cc0-7f838129f26c_1720630953.1953323.png)\n\n\n# Code\n```\nimport math\nfrom functools import reduce\nclass Solution:\n    def isGoodArray(self, nums: List[int]) -> bool:\n        # Compute the GCD of the entire array\n        # gcd_all=math.gcd(*nums)\n        # If the GCD of the entire array is 1, the array is good\n        return math.gcd(*nums) == 1\n        \n```
['Python3']