結果 : check if user input is in a list python