結果 : check if user input is string python