file.write(str(i) + "d" + " "+"\n"). a +=1. 输出结果:. (2) 在lucky.txt中新增内容(覆盖:每次运行都会重新写入内容)f = "lucky.txt".
確定! 回上一頁