python try convert to float code example Example: check if can convert to float python try: float(element) except ValueError: print "Not a float"