結果 : how to check if input is integer or string python