結果 : save function output to variable python