Python Program - Pythagorean Theorem

6,804

11

4

Posted

Introduction: Python Program - 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.

Share

    Recommendations

    • Spotless Contest

      Spotless Contest
    • Space Challenge

      Space Challenge
    • Science of Cooking

      Science of Cooking
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    4 Comments

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

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

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

    Ok, made the change. Thank you!