Commit 163baeb3 by BellCodeEditor

save project

parent ed2b1039
Showing with 3 additions and 2 deletions
...@@ -9,4 +9,5 @@ ...@@ -9,4 +9,5 @@
with open(r"c:\Users\Administrator\Desktop\text.txt",'r',encoding='utf-8')as file: with open(r"c:\Users\Administrator\Desktop\text.txt",'r',encoding='utf-8')as file:
a=file.read() a=file.read()
if "小强:12本" in a: if "小强:12本" in a:
print("zai") print("zai")
\ No newline at end of file with open(r)
\ 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