Commit b460b21f by BellCodeEditor

save project

parent e8373605
Showing with 12 additions and 5 deletions
a=open(r'C:\Users\86130\Desktop\text.txt','r',encoding='utf-8')
b=a.read()
if '星期六' in b:
print("在")
\ No newline at end of file
# with open(r'C:\Users\86130\Desktop\text.txt','r',encoding='utf-8') as
# b=a.read()
# if '星期六' in b:
# print("在")
naw_a=''
with open(r'C:\Users\86130\Desktop\text.txt','r',encoding='utf-8') as file1:
for a in file1:
if '星期六' in a:
a=a.replace('星期六','星期天')
na'enae
\ 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