id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

amgreyson@gmail.com algebra-1 > classifyThem
prev  |  next  |  chance

Given a list of triangles, return a list of their corresponding classifications ("right," "obtuse," "acute"). Each item in the list of triangles is a list of three side lengths for the triangle. Assume the side lengths are allowable side lengths for a triangle.


classifyThem([[3, 4, 5], [3, 4, 6], [3, 3, 4]]) → ['right', 'obtuse', 'acute']
classifyThem([[4, 3, 5], [6, 4, 3]]) → ['right', 'obtuse']
classifyThem([[3, 4, 3], [5, 5, 5]]) → ['acute', 'acute']

...Save, Compile, Run (ctrl-enter)

def classifyThem(triangles):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 195

Copyright Nick Parlante 2017 - privacy