Commit 9c998192 by BellCodeEditor

save project

parent a731f806
Showing with 1 additions and 1 deletions
with open(r'C:\\Users\\Administrator\\Desktop\text.txt','a',encoding='utf-8') as file1: with open(r'C:\\Users\\Administrator\\Desktop\text.txt','a',encoding='utf-8') as file1:
for data in file1: for data in file1:
if "ttgreytgyhtyehg" in data: if 'ttgreytgyhtyehg' in data:
print('dflkijghoritghbio[]') print('dflkijghoritghbio[]')
#file1.write('小张捐了两只猪') #file1.write('小张捐了两只猪')
#file1.write('老八捐了两座厕所') #file1.write('老八捐了两座厕所')
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