Your search query "linkto%3A%22PythagoreanTheorem%22" didn't return any results. Please change some terms and refer to HelpOnSearching for more information.

Clear message

from math import hypot

print "Pythagorean Theorem - Version 1.0"

print

print "What is the value of x?"

x = float(raw_input())

print

print "What is the value of y?"

y = float(raw_input())

print

print "The value of z is":

print hypot(x, y)

print

print "Press Enter to quit."

raw_input()

Unable to edit the page? See the FrontPage for instructions.