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.


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.

matt392 (author)2016-01-11

Ok, made the change. Thank you!

About This Instructable




Bio: Occupation: Tech Support
More by matt392:2nd Method - Using Hole Saw Without ArborUsing Hole Saw Without ArborBox for Raspberry Pi Model B and Power Supply Made From Wood Shims
Add instructable to: