# try: num = float(raw_input("\nEnter a number: ")) except(ValueError), e: print "That was not a number! Or as Python would say:\n", e