All pastes #733544 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-10-11 21:44 UTC
rendered paste body
def instructiacons ():
    print "This outlines the program"
    print "User input required for boiling point discovery"
    print "please input a the observed boiling point of your liquid"
    print "the program will analize this and return a liquid that has a boiling point within 5%"
    print "+ or - of the expected boiling point."


def within_x_percent(x,boiling_points,z):
    boiling_points = {'Water': 100,
                  'Mercury': 357,
                  'Copper': 1187,
                  'Silver': 2193,
                  'Gold': 2660}
    if x < y * 1.16 and x > boiling_points * 0.84:
        print "your liquid is %f" % boiling_points
    else:
        continue

instructiacons()
I = float(raw_input("enter the observed boiling point").strip())
within_x_percent(I)