Python 3 代码:
file = open("amdPricesPrices.txt", "a+")
prices = file.read()
print(prices)
文本文件内容:
69.40 69.30 67.61 76.09 78.19 77.67 86.71 84.85
当我执行此代码时,它只打印一个空行,不打印任何内容。
蝴蝶刀刀
郎朗坤
慕桂英546537
相关分类