結果 : check if number or string python