Challenge yourself

Beginner
Intermediate
Expert

Define a function, triangle_type, that takes three sides, a, b and c and:
  - It returns "equilateral" if all sides are equal.
  - It returns "isosceles" if two sides are equal.
  - It returns "scalene" otherwise.