結果 : take user input in function python