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