Python 3 代碼:file = open("amdPricesPrices.txt", "a+")prices = file.read()print(prices)文本文件內(nèi)容:69.40 69.30 67.61 76.09 78.19 77.67 86.71 84.85當我執(zhí)行此代碼時,它只打印一個空行,不打印任何內(nèi)容。
添加回答
舉報
0/150
提交
取消