🔥BEATS 💯 % 🎯 |✨SUPER EASY FOR BEGINNERS 👏
Code
![image.png](https://assets.leetcode.com/users/images/67baed19-1db8-4091-b767-6e56916e2db1_1740502799.954998.png)

# Code
```python3 []
class Solution:
    def triangleType(self, nums: List[int]) -> str:
        if nums[0] >= nums[1] + nums[2] or nums[1] >= nums[0] + nums[2] or nums[2] >= nums[0] + nums[1]:
            return "none"

        if len(set(nums)) == len(nums):
            return "scalene"
        elif len(set(nums)) == len(nums)-1:
            return "isosceles"
        else:
            return "equilateral"
        
```
['Python3']