Commit 9f10f448 by BellCodeEditor

save project

parent 1fc71f3d
Showing with 5 additions and 3 deletions
...@@ -6,5 +6,7 @@ ...@@ -6,5 +6,7 @@
# a.write("小四:19本") # a.write("小四:19本")
# a.close() # a.close()
with open(r"C:\Users\EDZ\Desktop\e.txt","a",encoding="UTF-8") as a: with open(r"C:\Users\EDZ\Desktop\e.txt","r",encoding="UTF-8") as a:
a.write("小一:12本") for i in a:
\ No newline at end of file if "小四:19本" in i:
print("hruferhfuh")
\ No newline at end of file
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