結果 : how to check if input is decimal in python