結果 : how to assign the output of a function to a variable in python