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