about | help | code help+videos | done | prefs |
Given a list containing three lengths of a triangle, return whether the triangle is "right," "obtuse," or "acute." Parameter sides contains three allowable side lengths for a triangle. classify([3, 4, 5]) → 'right' classify([3, 4, 6]) → 'obtuse' classify([3, 3, 4]) → 'acute' ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 175 Post-solution available
Copyright Nick Parlante 2017 - privacy