Attachment 'HypotIO.py'
Download 1 from math import hypot
2
3 print "HypotIO - Written by JAM in Python 2.4.1"
4 print
5 print "What is the value of x?"
6 x = float(raw_input())
7 print
8 print "What is the value of y?"
9 y = float(raw_input())
10 print
11 print "The value of z is:"
12 print hypot(x, y)
13 print
14 print "Press Enter to quit."
15 raw_input()
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.