Commit a0628c8a by BellCodeEditor

save project

parent 51a267c4
Showing with 3 additions and 3 deletions
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
with open(r'C:\Users\86152\Desktop\code\zop.txt','a',encoding='utf-8') as file1: with open(r'C:\Users\86152\Desktop\code\zop.txt','a',encoding='utf-8') as file1:
file1.write("dfghgdcwd:@# \n") file1.write("dfghgdcwd:@# \n")
file1.write("********Warning********\n") file1.write("********Warning********\n")
file1.write(" oxih \n")
with open(r'C:\Users\86152\Desktop\code\zop.txt','r',encoding='utf-8') as file1: with open(r'C:\Users\86152\Desktop\code\zop.txt','r',encoding='utf-8') as file1:
for hs in file1: for hs in file1:
print(hs) if " oxih " in hs:
\ No newline at end of file file1.replace(" bhsavh oj error sbting repead ")
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