結果 : check if a string is a decimal number python