結果 : python typeerror write () argument must be str not int