Commit 2f804cbb by BellCodeEditor

save project

parent a3166ed0
Showing with 3 additions and 8 deletions
with open(r'C:\Users\makcoo\Desktop\text.txt','r',encoding='utf-8') as file: with open(r'C:\Users\makcoo\Desktop\',text-txt,encoding='utf-8')as file:
#file.write('学校放寒假!!!') file.write('新年快乐')
#file.write('小强') #file.close()
#file.close()
for i in file:
if '小强' 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