結果 : python function to read user input