結果 : python function to get user input