Commit eeb0bfb4 by BellCodeEditor

save project

parent 839aab67
Showing with 4 additions and 0 deletions
......@@ -8,3 +8,7 @@ n.close()
with open(r"C:\Users\Administrator\Desktop\我是大聪明.txt","r",encoding="utf-8") as a:
n=a.read()
print(n)
with open(r"C:\Users\Administrator\Desktop\我是大聪明.txt","r",encoding="utf-8") as abc:
for wssb in abc:
if"abaaba"in wssb:
print("数据在文件中")
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