BOILING_POINTS = {'Water': 100, 'Mercury': 357, 'Copper': 1187, 'Silver': 2193, 'Gold': 2660} 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(reference, data, percent): (data <= (reference * (1 + percent/100))) and (data >= (reference * (1 - percent/100))) return (data <= (reference * (1 + percent/100))) and (data >= (reference * (1 - percent/100))) instructiacons() within_x_percent(100,98,5)