Python | Easy Solution✅
\ndef largestPerimeter(self, nums: List[int]) -> int: # nums = [3,6,2,3]\n        # condition to create a triangle a < (b + c). where  a >= b >= c\n        nums
```\ndef largestPerimeter(self, nums: List[int]) -> int: # nums = [3,6,2,3]\n        # condition to create a triangle a < (b + c). where  a >= b >= c\n        nums = sorted(nums, reverse=True) # nums after sorting = [6, 3, 3, 2]\n        for i in range(len(nums)-2):\n            if nums[i] < nums[i+1] +nums[i+2]: # When i =1 => 3 < 3+2 (True)\n                return nums[i]+nums[i+1] +nums[i+2] # 3 + 3 + 2 = 8\n        return 0\n```
['Python', 'Python3']