It should be fairly easy. Here's some Python to give you the basic idea.

Code:

print("Input lengths of the triangle sides: ")
x = int(input("x: "))
y = int(input("y: "))
z = int(input("z: "))
if x == y == z:
print("Equilateral triangle")
elif x != y != z:
print("Scalene triangle")
else:
print("isosceles triangle")

If it is an equilateral triangle, all of the sides are equal in length. If it is a scalene triangle, none of the sides are equal in length. If it is an isosceles triangle, two of the sides are equal in length.

Hope this helps.