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