Ask your own question, for FREE!
Computer Science 23 Online
OpenStudy (anonymous):

Use the Pythagorean Theorem to determine if the three measures could be sides of a right triangle. 30, 16, 34 yes no

OpenStudy (anonymous):

256 + 900=1156 so yes

OpenStudy (anonymous):

## Using Python 3.+ I wrote this. You can copy and paste into IDLE ## If the 1st 2 sides squared don't equal the longest side squared it won't be right triangle side1 = float(input("enter shortest side ")) side2 = float(input("enter 2nd shortest side ")) side3 = float(input("enter longest side ")) if side1**2 + side2**2 == side3**2: print ("yep, it's a right triangle") else: print ("sorry, no Pythagoras for you")

OpenStudy (anonymous):

nice^^... but i'd rather the message be "you're depending on me too much... do your own math"... for both branches.....:)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!