Commit 1a617c26 by BellCodeEditor

save project

parent dc22b1a3
Showing with 28 additions and 0 deletions
# 写入同学们的捐赠明细:'小兰:12本'、'小丽:11本'、'李文:9本'、'张伟:16本'
file1.writer(r"c:\users\CM\D")
file1.writer("小蓝:12本\n")
file1.writer("小猎:14本\n")
file1.writer("里文:14本\n")
file1.writer("脏为了:14本\n")
file1.close()
file1=open(r"c:\users\CM\D")
file1.writer("徐赛迪:12本\n")
file1.writer("小俄科技:14本\n")
file1.close()
with open(r"c:\users\CM\D")
file1.writer("tytry65y:12本\n")
file1.writer("teiosrtuir:14本\n")
with open(r"c:\users\CM\D")
for data in file1:
if "djsfhjdsh:10本"in data
print("yrtyrty")
if "ifjgidfhdjs:12本"in data
print("rjfirifei")
\ 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