python 3 with only 2 lines（easy to understand）
\nclass Solution:\n    def maximumProduct(self, nums: List[int]) -> int:\n        a = sorted(nums)\n        return(max(a[-1] *a[-2]*a[-3],a[0]*a[1]*a[-1]))\n
```\nclass Solution:\n    def maximumProduct(self, nums: List[int]) -> int:\n        a = sorted(nums)\n        return(max(a[-1] *a[-2]*a[-3],a[0]*a[1]*a[-1]))\n```
['Python', 'Python3']