関連ワード:  python save print output to variable  
結果 : python save print output to variable