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

 

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

Given a list containing three lengths of a triangle, return True if the triangle is right. Return False otherwise. Parameter sides contains positive, non-zero values.


isRight([3, 4, 5]) → True
isRight([12, 5, 13]) → True
isRight([1, 1, 2]) → False

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

def isRight(sides):

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: 150

Copyright Nick Parlante 2017 - privacy