diff --git a/diy.py b/diy.py
index 061222e..45b60a1 100644
--- a/diy.py
+++ b/diy.py
@@ -1,5 +1,4 @@
 sum=0
-b=[]
 with open(r'c:\Users\EDZ\Documents\lesson13-1\sales_list.txt',"r",encoding='utf-8') as file:
      a=file.readlines()
 for i in a:
@@ -11,4 +10,4 @@ for i in a:
     print(result)
     b.append(result)
 with open(r'c:\Users\EDZ\Desktop\test.txt',"a",encoding='utf-8') as c:
-    c.writelines(b)
\ No newline at end of file
+    c.brint()
\ No newline at end of file