One more task
in two ways.Code
in two ways.

# Code
```python []
class Solution(object):
    def triangleType(self, nums):
        if nums[0] == nums[1] == nums[2]:
            return "equilateral"
        else:
            mi = min(nums)
            nums.remove(mi)
            av = min(nums)
            nums.remove(av)
            ma = nums[0]
            if mi + av <= ma:
                return "none"
            elif mi == av or av == ma:
                return "isosceles"
            else:
                return "scalene"

# class Solution(object):
#     def triangleType(self, nums):
#         if nums[0] == nums[1] == nums[2]:
#             return "equilateral"
#         else:
#             nums.sort()
#             if nums[0] + nums[1] <= nums[2]:
#                 return "none"
#             elif nums[0] == nums[1] or nums[1] == nums[2]:
#                 return "isosceles"
#             else:
#                 return "scalene"
```
['Python']