>>> ph = float(raw_input()) 6.0 >>> if ph < 7.0: ... print "%s is acidic." % (ph) ... print "You should be careful with that!" ... 6.0 is acidic. You should be careful with that!