PythagoreanTheorem
This wiki is in the process of being archived due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies. Edits are discouraged.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.
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()