Commit fc72df33 by BellCodeEditor

save project

parent 9ae54ab6
Showing with 6 additions and 2 deletions
......@@ -2,5 +2,9 @@
# lll = open(r"C:/Users/Administrator/Desktop/jj.txt","w",encoding="utf-8")
# lll.write("小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本")
# lll.close()
with open(r"C:/Users/Administrator/Desktop/jj.txt","a",encoding="utf-8") as file:
file.write("小兰:12本\n")
#with open(r"C:/Users/Administrator/Desktop/jj.txt","a",encoding="utf-8") as file:
#file.write("小兰:12本\n")
with open (r"C:/Users/Administrator/Desktop/jj.txt","a",encoding="utf-8") as
a = file.read()
for i in a:
print(a)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment