Commit 160af923 by BellCodeEditor

save project

parent dc22b1a3
Showing with 11 additions and 0 deletions
with open(r'C:\Users\Administrator\Desktop\Sans.txt','w',encoding='utf-8')as newtxt:
newtxt.write('*What a wonderful day outside.\n')
newtxt.write('*birds are singing,flower are blooming...\n')
newtxt.write('*On days like these,kids like you...\n')
newtxt.write('*Should be burning IN THE HELL....\n')
with open(r'C:\Users\Administrator\Desktop\Sans.txt','r',encoding='utf-8')as newtxt:
for i in newtxt:
if '*birds are singing,flower are blooming...\n' in i:
print('完成')
\ 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