結果 : how to test if a string is a float in python