Python Easy and Simple Solution
\nclass Solution:\n    def largestPerimeter(self, nums: List[int]) -> int:\n        #sum of two side should always be greater than third side\n        nums.sort
```\nclass Solution:\n    def largestPerimeter(self, nums: List[int]) -> int:\n        #sum of two side should always be greater than third side\n        nums.sort()\n        nums.reverse()\n        for i in range(len(nums)-2):\n            base,side1,side2 = nums[i],nums[i+1],nums[i+2] \n            if side1+side2>base:\n                return side1+side2+base\n        return 0\n        \n```
['Python', 'Python3']