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

author
JohnK124 (author)2015-11-01

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

author
matt392 (author)JohnK1242016-01-14

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

author
matt392 (author)JohnK1242015-11-02

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

author
matt392 (author)2016-01-11

Ok, made the change. Thank you!

About This Instructable

5,721views

11favorites

License:

More by matt392:Multi-Bit Screwdriver From Pine 1x2Hand Drill From Husky Ratcheting Screwdriver​Small House/Creche Made of Wood Shims
Add instructable to: