Differences between revisions 2 and 3
Revision 2 as of 2005-05-11 19:47:06
Size: 325
Editor: squid
Comment:
Revision 3 as of 2008-11-15 14:01:15
Size: 325
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

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()

PythagoreanTheorem (last edited 2014-03-20 02:16:29 by DaleAthanasias)

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