Introduction: Python - Pythagorean Theorem

Picture of Python - Pythagorean Theorem

Simple Python program using functions to calculate the hypotenuse of a triangle using the Pythagorean Theorem.

Attached as .py file and PDF file.

Comments

JohnK124 (author)2015-11-01

Don't you need to take the square root of a^2 + b^2 ton find the hypotenuse

matt392 (author)JohnK1242016-01-14

Thanks for the heads up! Made the change. If you have a moment, can you QA the code?

matt392 (author)JohnK1242015-11-02

You are right! Thank you. Will correct it.
Matt

matt392 (author)2016-01-11

Ok, made the change. Thank you!

About This Instructable

6,133views

11favorites

License:

Bio: Occupation: Tech Support
More by matt392:Replace Letters on Computer Keyboard (or Make Bigger Letters) With Nail PolishMulti-bit Screwdriver From PVC PipeReplace Letters (or Make Bigger Letters) on Computer Keyboard
Add instructable to: