結果 : python function to check if input is a number