Commit 5b2d1314 by BellCodeEditor

save project

parent fc72df33
Showing with 4 additions and 4 deletions
......@@ -4,7 +4,7 @@
# 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
a = file.read()
for i in a:
print(a)
with open (r"C:/Users/Administrator/Desktop/jj.txt","r",encoding="utf-8") as file:
for i in file:
if "小兰" in i:
print("uj")
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