Commit 9d41970c by BellCodeEditor

save project

parent 224d7de1
Showing with 4 additions and 0 deletions
......@@ -6,3 +6,7 @@ file.close()
with open("C:\\Users\\wzj\\Desktop\\test.txt",'r',encoding ='utf-8') as file:
a = file.read()
print(a)
if "小强:11本" in file:
print("T")
else:
print("F")
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