結果 : checking if input is a number python