PYTHON
Code\n\nclass Solution:\n    def triangleType(self, nums: List[int]) -> str:\n        if len(nums)==3 and nums[0]<nums[1]+nums[2] and nums[1]<nums[0]+nums[2] an
# Code\n```\nclass Solution:\n    def triangleType(self, nums: List[int]) -> str:\n        if len(nums)==3 and nums[0]<nums[1]+nums[2] and nums[1]<nums[0]+nums[2] and nums[2]<nums[1]+nums[0]:\n            if len(set(nums))==1:\n                return "equilateral"\n            elif len(set(nums))==2:\n                return "isosceles"\n            else:\n                return "scalene"\n        return "none" \n        \n```
['Python3']