Commit af9d48ba by BellCodeEditor

auto save

parent aa251e53
Showing with 10 additions and 7 deletions
......@@ -14,9 +14,9 @@
# print(a)
with open(r"C:\Users\123\Desktop\test.txt",'r',encoding='utf-8') as file1:
for i in file1:
if'pig:10'in i:
print('在里面')
if'big:10'in i:
print('在里面')
\ No newline at end of file
# with open(r"C:\Users\123\Desktop\test.txt",'r',encoding='utf-8') as file1:
# for i in file1:
# if'pig:10'in i:
# print('在里面')
# if'big:10'in i:
# print('在里面')
\ No newline at end of file
str='我有一个apple'
print(str.replace('一','一亿'))
\ 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