Commit 7b909b5c by BellCodeEditor

save project

parent 9f0f5e00
Showing with 5 additions and 4 deletions
ss=open(r"C:\Users\dell\Desktop\text.txt","a",encoding="utf-8")
ss.write("小兰12小丽11李文9张伟16小强12李明15")
ss.close()
\ No newline at end of file
with open(r"D:\360Downloads\book.txt","w",encoding="utf-8") as file1:
for data in file1:
if "10" in data:
print(1)
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