Commit 5c361677 by BellCodeEditor

save project

parent 9ab98ad9
Showing with 6 additions and 3 deletions
......@@ -5,5 +5,8 @@
# file1.write("c:9本\n")
# file1.write("d:16本\n")
with open(r"C:\Users\Administrator\Desktop\book.txt","a",encoding="utf-8")as file:
file.write("e:10本\n")
file.write("f:15本\n")
\ No newline at end of file
for i in file1:
if "e:10本"in i:
print("在")
if "f:12"in i:
print("在")
\ 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