結果 : check if value is number or string python